aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/texinfo.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/texinfo.xml')
-rw-r--r--chapter06/texinfo.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/chapter06/texinfo.xml b/chapter06/texinfo.xml
index e34678367..c24b2e59f 100644
--- a/chapter06/texinfo.xml
+++ b/chapter06/texinfo.xml
@@ -84,11 +84,12 @@
If the <filename>/usr/share/info/dir</filename> file ever needs to be
recreated, the following optional commands will accomplish the task:</para>
-<screen role="nodump"><userinput>cd /usr/share/info
+<screen role="nodump"><userinput>pushd /usr/share/info
rm -v dir
for f in *
-do install-info $f dir 2&gt;/dev/null
-done</userinput></screen>
+ do install-info $f dir 2&gt;/dev/null
+done
+popd</userinput></screen>
</sect2>