aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gzip-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gzip-inst.xml')
-rw-r--r--chapter06/gzip-inst.xml12
1 files changed, 5 insertions, 7 deletions
diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml
index 57fd9a457..7782d1f05 100644
--- a/chapter06/gzip-inst.xml
+++ b/chapter06/gzip-inst.xml
@@ -8,13 +8,11 @@ cp gzexe.in gzexe.in.backup &&
sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in &&
make &&
make install &&
-cd /usr/bin &&
-mv gzip /bin &&
-rm gunzip zcat &&
-cd /bin &&
-ln -sf gzip gunzip &&
-ln -sf gzip zcat &&
-ln -sf gunzip uncompress</userinput></screen></para>
+mv /usr/bin/gzip /bin &amp;&amp;
+rm /usr/bin/{gunzip,zcat} &amp;&amp;
+ln -sf gzip /bin/gunzip &amp;&amp;
+ln -sf gzip /bin/zcat &amp;&amp;
+ln -sf gunzip /bin/uncompress</userinput></screen></para>
</sect2>