Fail if no file specified.

This commit is contained in:
Michal Čihař
2003-10-23 13:37:12 +00:00
parent a8b1de3a30
commit bfcf6ab29c

View File

@@ -6,6 +6,11 @@
#
# Example: add_message_file.sh xxx
#
if [ $# -ne 1 ] ; then
echo "usage: add_message_file.sh filename"
exit 1
fi
for file in *.inc.php3
do
echo $file " "