summaryrefslogtreecommitdiff
path: root/db-check-nonfree
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 17:12:16 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-01 22:04:41 -0500
commit12507975408257ff24f1f367b8b3b842fa779f1f (patch)
tree018723453cca7ee2ffc2c2f9040dbc4c2b70fb83 /db-check-nonfree
parentbaf990333197d42fc25e3220b2bbc97ea03d88a4 (diff)
use ${0##*/} instead of basename in "usage:" text
Diffstat (limited to 'db-check-nonfree')
-rwxr-xr-xdb-check-nonfree2
1 files changed, 1 insertions, 1 deletions
diff --git a/db-check-nonfree b/db-check-nonfree
index ba5f5aa..661daa6 100755
--- a/db-check-nonfree
+++ b/db-check-nonfree
@@ -4,7 +4,7 @@
. "$(dirname "$(readlink -e "$0")")/config"
if [ $# -ge 1 ]; then
- warning "Calling $(basename $0) with a specific repository is not supported"
+ warning "Calling ${0##*/} with a specific repository is not supported"
exit 1
fi