diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-02 22:34:31 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-02 22:43:25 +0200 |
commit | 127517d9c3cecbab255c2e1247bc12ccc72c914e (patch) | |
tree | c17f93e16aed7dcf96855d4322cb303cd393d342 | |
parent | 08d7abb0769701e3c14053b1b2406147ef9dd021 (diff) | |
download | mkinitcpio-127517d9c3cecbab255c2e1247bc12ccc72c914e.tar.gz mkinitcpio-127517d9c3cecbab255c2e1247bc12ccc72c914e.tar.xz |
cleanup rarely and unused variable declarations
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-x | mkinitcpio | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -14,7 +14,6 @@ shopt -s extglob # Settings KERNELVERSION=$(uname -r) -CARCH=$(uname -m) FUNCTIONS=functions CONFIG=mkinitcpio.conf HOOKDIR=hooks @@ -34,11 +33,9 @@ PATH=$PATH:/sbin:/usr/sbin # GREP_OPTIONS="--color=always" will break everything unset GREP_OPTIONS -APPNAME=${0##*/} - usage() { cat <<EOF -usage: $APPNAME [options] +usage: ${0##*/} [options] Options: -b BASEDIR Use BASEDIR. default: / @@ -46,7 +43,7 @@ usage: $APPNAME [options] -g IMAGE Generate a cpio image as IMAGE. default: no -H HOOKNAME Output help for hook 'HOOKNAME'. -h Display this message. - -k KERNELVERSION Use KERNELVERSION. default: $(uname -r) + -k KERNELVERSION Use KERNELVERSION. default: $KERNELVERSION -L List all available hooks. -M Display modules found via autodetection. -n Disable colorized output messages. |