Browse Source

changed $* into "$@" in the functions script

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@720 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 years ago
parent
commit
a2f729c2f9
2 changed files with 7 additions and 2 deletions
  1. 5 0
      chapter01/changelog.xml
  2. 2 2
      chapter07/functions.xml

+ 5 - 0
chapter01/changelog.xml

@@ -222,6 +222,11 @@ that's not running, it'll not print FAILED anymore but [ ATTN ] along
 with "Already running" or "Not running".
 </para></listitem>
 
+<listitem><para>
+Chapter 7: Changed $* into "$@" in the functions script. "$@" allows 
+usage of quoted arguments with blanks.
+</para></listitem>
+
 <listitem><para>
 Chapter 7+8: Moved the creation of /etc/fstab to chapter 8.
 </para></listitem>		

+ 2 - 2
chapter07/functions.xml

@@ -147,12 +147,12 @@ loadproc()
         if [ ! -n "$pid" ]
         then
 #
-# Empty $pid variable means it's not running, so we run $* (all
+# Empty $pid variable means it's not running, so we run "$@" (all
 # parameters giving to this function from the script) and then check the
 # return value
 #
 
-                $*
+                "$@"
                 evaluate_retval
         else
 #