projects
/
drupal-init-tools.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6bc7c74
)
bootstrap.sh: use "grep -E" instead of "egrep", suggested by shellcheck
author
Antonio Ospite <ao2@ao2.it>
Mon, 18 Dec 2017 15:03:32 +0000
(16:03 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 18 Dec 2017 15:03:32 +0000
(16:03 +0100)
libexec/bootstrap.sh
patch
|
blob
|
history
diff --git
a/libexec/bootstrap.sh
b/libexec/bootstrap.sh
index
1dee4f2
..
63318a4
100755
(executable)
--- a/
libexec/bootstrap.sh
+++ b/
libexec/bootstrap.sh
@@
-95,7
+95,7
@@
DRUPAL_CONSOLE="${PWD}/vendor/bin/drupal"
# This becomes unnecessary if the installation profile gets pulled in by
# composer.json, like suggested in
# https://github.com/drupal-composer/drupal-project/issues/249
# This becomes unnecessary if the installation profile gets pulled in by
# composer.json, like suggested in
# https://github.com/drupal-composer/drupal-project/issues/249
-if ! echo "$INSTALLATION_PROFILE" |
egrep -q
"^(minimal|standard)$";
+if ! echo "$INSTALLATION_PROFILE" |
grep -q -E
"^(minimal|standard)$";
then
if [ -d "${SITE_LOCAL_PATH}/profiles/${INSTALLATION_PROFILE}" -a "$OVERWRITE_PROFILE" != "true" ];
then
then
if [ -d "${SITE_LOCAL_PATH}/profiles/${INSTALLATION_PROFILE}" -a "$OVERWRITE_PROFILE" != "true" ];
then