aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml12
1 files changed, 3 insertions, 9 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 5f8c2e16b..c18eb1404 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -289,16 +289,10 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
href="readjusting.xml"
xpointer="xpointer(//*[@os='v'])"/>
- <para>Finally, move a misplced file:</para>
+ <para>Finally, move a misplaced file:</para>
-<screen><userinput remap="install">case `uname -m` in
- i?86) GDBDIR=/usr/share/gdb/auto-load/usr/lib/ ;;
- *) GDBDIR=/usr/share/gdb/auto-load/usr/lib64/ ;;
-esac
-
-mkdir -pv $GDBDIR
-mv -v /usr/lib/*gdb.py $GDBDIR
-unset GDBDIR</userinput></screen>
+<screen><userinput remap="install">mkdir -pv /usr/share/gdb/auto-load/usr/lib
+mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
</sect2>