Hello,

On Sun, 01 Apr 2018, the...@sys-concept.com wrote:
>On 03/30/2018 11:10 AM, Bas Zoutendijk wrote:
[..]
>>     echo 'export PS1="(chroot '$HOST') $PS1"; exec <dev/tty' | exec chroot 
>> $ROOT /bin/bash -i
>The above syntax produced an error: 
>
>chroot-eden: line 30: syntax error near unexpected token `('
>chroot-eden: line 30: `echo 'export PS1="(chroot '$HOST') $PS1"; exec 
><dev/tty' | exec chroot $ROOT /bin/bash -i'

You owe me a dollar!

    export PS1="$(chroot '$HOST') $PS1";
                ^

HTH,
-dnh

-- 
Don't Panic

Reply via email to