Use PROGNAME for tests.sh

This commit is contained in:
Pierre Pronchery 2014-12-02 01:23:36 +01:00
parent 6d0fa726f7
commit 06cc4c9cf4

View File

@ -25,6 +25,7 @@
#variables
PROGNAME="tests.sh"
#executables
CONFIGURE="../src/configure"
[ -n "$OBJDIR" ] && CONFIGURE="${OBJDIR}configure"
@ -65,7 +66,7 @@ _test()
#usage
_usage()
{
echo "Usage: test.sh target" 1>&2
echo "Usage: $PROGNAME target" 1>&2
return 1
}