Use PROGNAME

This commit is contained in:
Pierre Pronchery 2015-09-21 23:32:15 +02:00
parent c30535c875
commit 0da2c7ddfe

View File

@ -17,6 +17,7 @@
#variables
PROGNAME="tests.sh"
#executables
DATE="date"
@ -66,7 +67,7 @@ _test()
#usage
_usage()
{
echo "Usage: tests.sh [-c][-P prefix] target" 1>&2
echo "Usage: $PROGNAME [-c][-P prefix] target" 1>&2
return 1
}