aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-17 18:10:01 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-17 18:10:01 -0200
commit657ed42c4a71d5b050a2f36a4dee0b13ffc7d6b4 (patch)
tree1b0c5cf30a1993ab976670832906bfe277580798 /share
parenta6383c697ffa68ef0ecd4a0599db524ccdb9dda3 (diff)
downloadtemplater-657ed42c4a71d5b050a2f36a4dee0b13ffc7d6b4.tar.gz
templater-657ed42c4a71d5b050a2f36a4dee0b13ffc7d6b4.tar.bz2
Drupal 8: updates Makefile
Diffstat (limited to 'share')
-rw-r--r--share/templater/drupal8/files/Makefile.drupal83
1 files changed, 2 insertions, 1 deletions
diff --git a/share/templater/drupal8/files/Makefile.drupal8 b/share/templater/drupal8/files/Makefile.drupal8
index 410635b..9ff3dcc 100644
--- a/share/templater/drupal8/files/Makefile.drupal8
+++ b/share/templater/drupal8/files/Makefile.drupal8
@@ -5,6 +5,7 @@
# Parameters
CORE = 8
PROJECT = drupal
+DATABASE ?= $(PROJECT)
ENV ?= dev
DATE = $(shell date +%Y%m%d)
CWD = $(shell pwd)
@@ -143,7 +144,7 @@ cache:
# Destroy the database
destroydb:
- echo "DROP DATABASE $(PROJECT); CREATE DATABASE $(PROJECT);" | $(DRUSH) sql-cli
+ echo "DROP DATABASE $(DATABASE); CREATE DATABASE $(DATABASE);" | $(DRUSH) sql-cli
# Reinitializes the database
reinitdb: destroydb initdb