aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml6
-rw-r--r--chapter06/bash.xml5
2 files changed, 9 insertions, 2 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index c27fb2604..2b163af61 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,12 @@
<para>2007-08-07</para>
<itemizedlist>
<listitem>
+ <para>[dnicholson] - Redirected <filename
+ class="devicefile">/dev/tty</filename> to standard input when
+ running the Bash testsuite to prevent errors with terminal
+ permissions.</para>
+ </listitem>
+ <listitem>
<para>[dnicholson] - Added the <parameter>--disable-werror</parameter>
parameter to Binutils Pass 1.</para>
</listitem>
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index ba08418f3..56d077a22 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -81,9 +81,10 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
chown -Rv nobody ./</userinput></screen>
<para>Now, run the tests as the <systemitem
- class="username">nobody</systemitem> user:</para>
+ class="username">nobody</systemitem> user, ensuring that the standard
+ input device is readable:</para>
-<screen><userinput>su-tools nobody -s /bin/bash -c "make tests"</userinput></screen>
+<screen><userinput>su-tools nobody -s /bin/bash -c "make tests" &lt;/dev/tty</userinput></screen>
<para>Install the package:</para>