fail if no message specified
This commit is contained in:
@@ -5,6 +5,12 @@
|
|||||||
#
|
#
|
||||||
# Example: add_message.sh '$strNewMessage' 'new message contents'
|
# 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
|
for file in *.inc.php3
|
||||||
do
|
do
|
||||||
echo $file " "
|
echo $file " "
|
||||||
|
Reference in New Issue
Block a user