]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Basic syntax check at drupal script
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 13 Mar 2010 14:10:30 +0000 (11:10 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 13 Mar 2010 14:10:30 +0000 (11:10 -0300)
templates/drupal.sh.erb

index 85ba71a96f9598dd8788f8d27f68619293fac88f..79ae4d221c4bf099d9388eb4877dbdcdd896cfa9 100644 (file)
@@ -165,4 +165,7 @@ elif [ "$1" == "upgrade" ]; then
 elif [ "$1" == "run" ]; then
   shift
   drupal_iterate $*
+else
+  echo "No action $1"
+  exit 1
 fi