FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 05-30-2010, 07:16 AM
Jonathan Nieder
 
Default Bug#583695: update-initramfs: use $* instead of $@

Use "$*" where it makes the quoting behavior easier to understand.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
Probably does not belong in this bug log, but I was too lazy to
drop the change.

update-initramfs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/update-initramfs b/update-initramfs
index 94b8971..33c568b 100755
--- a/update-initramfs
+++ b/update-initramfs
@@ -27,7 +27,7 @@ fi
usage()
{
if [ -n "${1}" ]; then
- printf "${@}

" >&2
+ printf "${*}

" >&2
fi
cat >&2 << EOF
Usage: ${0} [OPTION]...
@@ -62,7 +62,7 @@ chrooted()
mild_panic()
{
if [ -n "${1}" ]; then
- printf "${@}
" >&2
+ printf "${*}
" >&2
fi
exit 0
}
@@ -70,7 +70,7 @@ mild_panic()
panic()
{
if [ -n "${1}" ]; then
- printf "${@}
" >&2
+ printf "${*}
" >&2
fi
exit 1
}
@@ -78,7 +78,7 @@ panic()
verbose()
{
if [ "${verbose}" = 1 ]; then
- printf "${@}
"
+ printf "${*}
"
fi
}

--
1.7.1




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100530071652.GB31469@progeny.tock">http://lists.debian.org/20100530071652.GB31469@progeny.tock
 

Thread Tools




All times are GMT. The time now is 12:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org