From cf298ab3f1de71acf8b60d8d8ae51b46f2e6a5ce Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 13 Mar 2010 11:10:30 -0300 Subject: Basic syntax check at drupal script --- templates/drupal.sh.erb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates') diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 85ba71a..79ae4d2 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -165,4 +165,7 @@ elif [ "$1" == "upgrade" ]; then elif [ "$1" == "run" ]; then shift drupal_iterate $* +else + echo "No action $1" + exit 1 fi -- cgit v1.2.3