Gentoo Archives: gentoo-user

From: Bas Zoutendijk <slzoutendijk@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] bash scrip prompt after bootstrap
Date: Mon, 02 Apr 2018 08:00:38
Message-Id: 20180402080026.GB7634@blackeye.localdomain
In Reply to: Re: [gentoo-user] bash scrip prompt after bootstrap by thelma@sys-concept.com
1 On Sun 1 Apr 2018 at 20:54:13 -0600, thelma@×××××××××××.com wrote:
2 > The above syntax produced an error:
3 >
4 > chroot-eden: line 30: syntax error near unexpected token `('
5 > chroot-eden: line 30: `echo 'export PS1="(chroot '$HOST') $PS1"; exec <dev/tty' | exec chroot $ROOT /bin/bash -i'
6 >
7 > I've tried it without brackets "()" no effect.
8
9 Strange, I get no error when I run the exact same command. Can you
10 find out which part of the command is causing it, by process of
11 elimination?
12
13 Sincerely,
14
15 Bas
16
17 --
18 Sebastiaan L. Zoutendijk | slzoutendijk@×××××.com