From 2b0ce25778d9c38f623880585224483e0f819f16 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Fri, 20 May 2011 09:41:57 +0200 Subject: [PATCH] testme.sh: added parameter checking --- testme.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testme.sh b/testme.sh index ff98d23a..c2909736 100644 --- a/testme.sh +++ b/testme.sh @@ -1,5 +1,12 @@ #!/bin/bash +if [ $# -lt 3 ] +then + echo "usage is: ${0##*/} " + 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`