Jelajahi Sumber

Changed $@ into "$@" (with quotes)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@131 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 tahun lalu
induk
melakukan
59f9e2d321
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 2 2
      chapter01/changelog.sgml
  2. 1 1
      chapter06/bison-inst.sgml

+ 2 - 2
chapter01/changelog.sgml

@@ -70,8 +70,8 @@ installation.
 </para></listitem>
 
 <listitem><para>
-Chapter 6: Changed $* into $@ in the yacc script during bison's
-installation. $@ allows usage of quoted arguments with blanks.
+Chapter 6: Changed $* into "$@" in the yacc script during bison's
+installation. "$@" allows usage of quoted arguments with blanks.
 </para></listitem>
 
 </itemizedlist>

+ 1 - 1
chapter06/bison-inst.sgml

@@ -33,7 +33,7 @@ following:
 #!/bin/sh
 # Begin /usr/bin/yacc
 
-/usr/bin/bison -y $@
+/usr/bin/bison -y "$@"
 
 # End /usr/bin/yacc
 <userinput>EOF</userinput>