diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-31 17:12:16 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-01 22:04:41 -0500 |
commit | 12507975408257ff24f1f367b8b3b842fa779f1f (patch) | |
tree | 018723453cca7ee2ffc2c2f9040dbc4c2b70fb83 /db-list-unsigned-packages | |
parent | baf990333197d42fc25e3220b2bbc97ea03d88a4 (diff) |
use ${0##*/} instead of basename in "usage:" text
Diffstat (limited to 'db-list-unsigned-packages')
-rwxr-xr-x | db-list-unsigned-packages | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db-list-unsigned-packages b/db-list-unsigned-packages index 4e90d42..985d1c0 100755 --- a/db-list-unsigned-packages +++ b/db-list-unsigned-packages @@ -24,7 +24,7 @@ set -e . "$(dirname "$(readlink -e "$0")")/config" if [ $# -lt 1 ]; then - msg "usage: $(basename $0) <architecture>" + msg "usage: ${0##*/} <architecture>" exit 1 fi |