From a2f729c2f9905d7a5f7a9f9b4d9eb85ed747f75d Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Thu, 28 Jun 2001 15:15:48 +0000 Subject: [PATCH] changed $* into "$@" in the functions script git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@720 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter07/functions.xml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7a22673c3..9b80f630f 100644 --- a/chapter01/changelog.xml +++ b/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". + +Chapter 7: Changed $* into "$@" in the functions script. "$@" allows +usage of quoted arguments with blanks. + + Chapter 7+8: Moved the creation of /etc/fstab to chapter 8. diff --git a/chapter07/functions.xml b/chapter07/functions.xml index 7222881cd..10b53f501 100644 --- a/chapter07/functions.xml +++ b/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 #