diff options
Diffstat (limited to 'lsinitramfs')
-rwxr-xr-x | lsinitramfs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lsinitramfs b/lsinitramfs index a96308d..4f91a6c 100755 --- a/lsinitramfs +++ b/lsinitramfs @@ -4,7 +4,7 @@ set -eu usage() { - echo "Usage: $(basename $0) [-l] <initramfs file>" + echo "Usage: $(basename "$0") [-l] <initramfs file>" } if [ "$#" -eq 0 ] ; then @@ -14,7 +14,7 @@ fi umi_opts="--list" -OPTIONS=`getopt -o hl --long help,long -n "$0" -- "$@"` +OPTIONS=$(getopt -o hl --long help,long -n "$0" -- "$@") # Check for non-GNU getopt if [ $? != 0 ] ; then echo "W: non-GNU getopt" >&2 ; exit 1 ; fi |