Check arguments.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2122 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-07-10 04:05:32 +00:00
parent 5025800109
commit 0fbabdfdf6
2 changed files with 10 additions and 0 deletions

View File

@@ -2,6 +2,11 @@
file=@srcdir@/compile_et.awk
if [ $# != 1 ]; then
echo "Usage: compile_et file.et"
exit 1
fi
if [ ! -f $file ]; then
echo "compile_et: File not found: $file"
exit 1

View File

@@ -2,6 +2,11 @@
file=@srcdir@/compile_et.awk
if [ $# != 1 ]; then
echo "Usage: compile_et file.et"
exit 1
fi
if [ ! -f $file ]; then
echo "compile_et: File not found: $file"
exit 1