aboutsummaryrefslogtreecommitdiff
path: root/templates/drupal.sh.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/drupal.sh.erb')
-rw-r--r--templates/drupal.sh.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb
index b1412ed..bf6cc65 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -164,6 +164,10 @@ function drupal_make {
makefile="/usr/local/share/drupal/drupal$series.make"
if [ -e "$makefile" ]; then
+ if [ ! -e "$base" ]; then
+ echo "Please deploy drupal code at $base first"
+ exit 1
+ fi
drush dl drush_make
( cd $base && drush make -y --no-core $makefile )
else