diff options
Diffstat (limited to 'chapter06/bash.xml')
-rw-r--r-- | chapter06/bash.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml index adeec10a4..953c4ad72 100644 --- a/chapter06/bash.xml +++ b/chapter06/bash.xml @@ -80,7 +80,14 @@ <para>Now, run the tests as the <systemitem class="username">nobody</systemitem> user:</para> -<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH HOME=/home make tests"</userinput></screen> +<screen><userinput remap="test">su nobody -s /bin/bash << EOF +PATH=$PATH HOME=/home make tests +EOF</userinput></screen> + + <para>The <command>su</command> command above is slightly different from + other places in the book. The + reason is that the <option>-c</option> option runs the command without + a controlling terminal, while the bash test suite needs one.</para> <para>Install the package and move the main executable to <filename class='directory'>/bin</filename>:</para> |