diff --git a/lib/com_err/compile_et.in b/lib/com_err/compile_et.in index 568e6f9dc..df1d12cb6 100755 --- a/lib/com_err/compile_et.in +++ b/lib/com_err/compile_et.in @@ -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 diff --git a/lib/error/compile_et.in b/lib/error/compile_et.in index 568e6f9dc..df1d12cb6 100755 --- a/lib/error/compile_et.in +++ b/lib/error/compile_et.in @@ -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