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