summaryrefslogtreecommitdiff
path: root/lsinitrd.sh
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-07-24 14:12:36 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-24 14:12:36 +0200
commitc072e131622f41ed90cf0d1510c96dd7cb0aad7a (patch)
tree3a1b9cc6672edf7a163aa87868b16f159533bbec /lsinitrd.sh
parentf2271428d4760c7026dda9093c14fb1bf9035691 (diff)
downloaddracut-c072e131622f41ed90cf0d1510c96dd7cb0aad7a.tar.gz
dracut-c072e131622f41ed90cf0d1510c96dd7cb0aad7a.tar.bz2
dracut-c072e131622f41ed90cf0d1510c96dd7cb0aad7a.zip
get rid of "basename"
Diffstat (limited to 'lsinitrd.sh')
-rwxr-xr-xlsinitrd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitrd.sh b/lsinitrd.sh
index a844932d..3d6084d3 100755
--- a/lsinitrd.sh
+++ b/lsinitrd.sh
@@ -21,7 +21,7 @@
usage()
{
- echo "Usage: $(basename $0) [-s] [<initramfs file> [<filename>]]"
+ echo "Usage: $(${0##*/}) [-s] [<initramfs file> [<filename>]]"
}
[[ $# -le 2 ]] || { usage ; exit 1 ; }