testme.sh: added parameter checking

This commit is contained in:
Steffen Jaeckel 2011-05-20 09:41:57 +02:00
parent 5ec1e53e02
commit 2b0ce25778

View File

@ -1,5 +1,12 @@
#!/bin/bash
if [ $# -lt 3 ]
then
echo "usage is: ${0##*/} <which makefile> <additional defines> <path to math provider>"
echo "e.g. \"${0##*/} makefile \"-DUSE_LTM -DLTM_DESC -I/path/to/libtommath\" /path/to/libtommath/libtommath.a\""
exit -1
fi
# date
echo "date="`date`