fail if no message specified

This commit is contained in:
Michal Čihař
2003-10-23 10:04:44 +00:00
parent 9ba9336092
commit f9d8c93f86

View File

@@ -5,6 +5,12 @@
#
# Example: add_message.sh '$strNewMessage' 'new message contents'
#
if [ $# -ne 2 ] ; then
echo "usage: add_message.sh '\$strNewMessage' 'new message contents'"
exit 1
fi
for file in *.inc.php3
do
echo $file " "