aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bash.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-05-31 20:01:42 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-05-31 20:01:42 +0000
commit264dfd9e05b9595d78642119c9cf43eee5558084 (patch)
treeb68069365982691375e3c8030f69b9ba500bcdf3 /chapter06/bash.xml
parentae7f075dd6185f9ec93d5aedbb46e98511f25235 (diff)
Update to upstream r11882
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11883 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/bash.xml')
-rw-r--r--chapter06/bash.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index ae42cf4cb..4d06fc2a3 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -80,7 +80,9 @@
<para>Now, run the tests as the <systemitem
class="username">tester</systemitem> user:</para>
-<screen><userinput remap="test">su tester -c "PATH=$PATH make tests"</userinput></screen>
+<screen><userinput remap="test">su tester &lt;&lt; EOF
+PATH=$PATH make tests &lt; $(tty)
+EOF</userinput></screen>
<para>The <systemitem class="username">tester</systemitem>
user does not have enough permissions for all the tests to pass. This shows