Check arguments.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2122 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
file=@srcdir@/compile_et.awk
|
file=@srcdir@/compile_et.awk
|
||||||
|
|
||||||
|
if [ $# != 1 ]; then
|
||||||
|
echo "Usage: compile_et file.et"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f $file ]; then
|
if [ ! -f $file ]; then
|
||||||
echo "compile_et: File not found: $file"
|
echo "compile_et: File not found: $file"
|
||||||
exit 1
|
exit 1
|
||||||
|
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
file=@srcdir@/compile_et.awk
|
file=@srcdir@/compile_et.awk
|
||||||
|
|
||||||
|
if [ $# != 1 ]; then
|
||||||
|
echo "Usage: compile_et file.et"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f $file ]; then
|
if [ ! -f $file ]; then
|
||||||
echo "compile_et: File not found: $file"
|
echo "compile_et: File not found: $file"
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user