aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/templater/drupal7/files/Makefile.drupal72
-rw-r--r--share/templater/drupal8/files/Makefile.drupal82
2 files changed, 2 insertions, 2 deletions
diff --git a/share/templater/drupal7/files/Makefile.drupal7 b/share/templater/drupal7/files/Makefile.drupal7
index 8faec12..31e9e26 100644
--- a/share/templater/drupal7/files/Makefile.drupal7
+++ b/share/templater/drupal7/files/Makefile.drupal7
@@ -163,7 +163,7 @@ upgrade-modules:
# Upgrade drupal
upgrade-drupal:
- BASE=/vagrant/vendor drupal upgrade $(OLD) $(NEW)
+ BASE=$(DESTDIR) sudo drupal upgrade $(OLD) $(NEW)
# Pull changes
pull:
diff --git a/share/templater/drupal8/files/Makefile.drupal8 b/share/templater/drupal8/files/Makefile.drupal8
index a88d280..b04fe23 100644
--- a/share/templater/drupal8/files/Makefile.drupal8
+++ b/share/templater/drupal8/files/Makefile.drupal8
@@ -175,7 +175,7 @@ upgrade-modules:
# Upgrade drupal
upgrade-drupal:
- BASE=$(DESTDIR) drupal upgrade $(CORE)
+ BASE=$(DESTDIR) sudo drupal upgrade $(CORE)
# Configure update hook on remote host
#post_receive: