Use PROGNAME

This commit is contained in:
Pierre Pronchery 2017-11-10 04:58:01 +01:00
parent c7cc27b08e
commit 71594eb8fa

View File

@ -17,6 +17,7 @@
#variables #variables
PROGNAME="deforaos-lock.sh"
#executables #executables
LOCK="mkdir" LOCK="mkdir"
UNLOCK="rmdir" UNLOCK="rmdir"
@ -39,7 +40,7 @@ _lock()
#usage #usage
_usage() _usage()
{ {
echo "Usage: deforaos-lock.sh -- command [arguments...]" 1>&2 echo "Usage: $PROGNAME -- command [arguments...]" 1>&2
return 1 return 1
} }