Use PROGNAME
This commit is contained in:
parent
c7cc27b08e
commit
71594eb8fa
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user