projects
/
drupal-init-tools.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian: initial import for the debian package
[drupal-init-tools.git]
/
libexec
/
bootstrap.sh
diff --git
a/libexec/bootstrap.sh
b/libexec/bootstrap.sh
index
6d26c2e
..
4670cef
100755
(executable)
--- a/
libexec/bootstrap.sh
+++ b/
libexec/bootstrap.sh
@@
-20,7
+20,7
@@
set -e
usage() {
cat <<EOF
usage() {
cat <<EOF
-usage: drin $(basename "$0" .sh) [--devel|-h|--help]
+usage: drin $(basename "$0" .sh) [--devel|-
-overwrite-profile|-
h|--help]
Bootstrap a Drupal project, using settings from a 'bootstrap.conf' file.
Bootstrap a Drupal project, using settings from a 'bootstrap.conf' file.
@@
-52,6
+52,8
@@
do
shift
done
shift
done
+[ -f "bootstrap.conf" ] || { echo "Aborting, run this command from the Drupal project directory." 1>&2; exit 1; }
+
# shellcheck disable=SC1091
. bootstrap.conf
# shellcheck disable=SC1091
. bootstrap.conf