diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-05-30 02:16:52 -0500 |
---|---|---|
committer | Michael Prokop <mika@debian.org> | 2010-06-02 23:45:29 +0200 |
commit | 06d05e4d9d0471e1448d233bbd37e38b7f8c3bc7 (patch) | |
tree | 49492818d1dee3f129ca80b288d554e0181bae03 /update-initramfs | |
parent | 8db2ddbaaf1f554c131f2483032aa31b6b70b36b (diff) | |
download | initramfs-tools-06d05e4d9d0471e1448d233bbd37e38b7f8c3bc7.tar.gz initramfs-tools-06d05e4d9d0471e1448d233bbd37e38b7f8c3bc7.zip |
update-initramfs: use $* instead of $@
Use "$*" where it makes the quoting behavior easier to understand.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Reviewed-by: Michael Prokop <mika@debian.org>
Diffstat (limited to 'update-initramfs')
-rwxr-xr-x | update-initramfs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/update-initramfs b/update-initramfs index 89bbdbe..e49115b 100755 --- a/update-initramfs +++ b/update-initramfs @@ -29,7 +29,7 @@ fi usage() { if [ -n "${1:-}" ]; then - printf "${@}\n\n" >&2 + printf "${*}\n\n" >&2 fi cat >&2 << EOF Usage: ${0} [OPTION]... @@ -64,7 +64,7 @@ chrooted() mild_panic() { if [ -n "${1:-}" ]; then - printf "${@}\n" >&2 + printf "${*}\n" >&2 fi exit 0 } @@ -72,7 +72,7 @@ mild_panic() panic() { if [ -n "${1:-}" ]; then - printf "${@}\n" >&2 + printf "${*}\n" >&2 fi exit 1 } @@ -80,7 +80,7 @@ panic() verbose() { if [ "${verbose}" = 1 ]; then - printf "${@}\n" + printf "${*}\n" fi } |