aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-02-07 18:30:55 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-02-07 18:30:55 -0200
commit9a090b17af7a4b9bd67a45b1b363de0e9d1041cc (patch)
tree9f7b949b956b02d420f5ee0b5ee15036584fe379 /share
parent5842b1a4b35a293e3d3cb9eedb85092ee3761326 (diff)
downloadtemplater-9a090b17af7a4b9bd67a45b1b363de0e9d1041cc.tar.gz
templater-9a090b17af7a4b9bd67a45b1b363de0e9d1041cc.tar.bz2
Drupal: Makefile: fix upgrade-drupal target
Diffstat (limited to 'share')
-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: