aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-03-02 16:28:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-03-02 16:28:22 -0300
commit7d00e6da5e20ec2060ec76062407e6ccfb56d4ae (patch)
tree897420ddb196b38b35efacb89c595fac29b27395
parent9e7789fb176cee1d836ebf8fb8fdf001dce58a27 (diff)
downloadtemplater-7d00e6da5e20ec2060ec76062407e6ccfb56d4ae.tar.gz
templater-7d00e6da5e20ec2060ec76062407e6ccfb56d4ae.tar.bz2
Drupal Makefile fixes
-rw-r--r--share/templater/drupal7/files/Makefile.drupal74
-rw-r--r--share/templater/drupal8/files/Makefile.drupal82
2 files changed, 3 insertions, 3 deletions
diff --git a/share/templater/drupal7/files/Makefile.drupal7 b/share/templater/drupal7/files/Makefile.drupal7
index 31e9e26..3662c59 100644
--- a/share/templater/drupal7/files/Makefile.drupal7
+++ b/share/templater/drupal7/files/Makefile.drupal7
@@ -159,11 +159,11 @@ update:
# Upgrade modules
upgrade-modules:
- $(DRUSH) up
+ sudo $(DRUSH) up
# Upgrade drupal
upgrade-drupal:
- BASE=$(DESTDIR) sudo drupal upgrade $(OLD) $(NEW)
+ BASE=$(DESTDIR) sudo drupal upgrade $(CORE)
# Pull changes
pull:
diff --git a/share/templater/drupal8/files/Makefile.drupal8 b/share/templater/drupal8/files/Makefile.drupal8
index b04fe23..8871556 100644
--- a/share/templater/drupal8/files/Makefile.drupal8
+++ b/share/templater/drupal8/files/Makefile.drupal8
@@ -171,7 +171,7 @@ update: pull submodules
# Upgrade modules
upgrade-modules:
- $(DRUSH) up
+ sudo $(DRUSH) up
# Upgrade drupal
upgrade-drupal: