projects
/
drupal-init-tools.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bootstrap.sh: disable one shellcheck message about sourcing bootstrap.conf
[drupal-init-tools.git]
/
libexec
/
clean.sh
diff --git
a/libexec/clean.sh
b/libexec/clean.sh
index
34ef55e
..
daa86fb
100755
(executable)
--- a/
libexec/clean.sh
+++ b/
libexec/clean.sh
@@
-20,7
+20,7
@@
set -e
usage() {
cat <<EOF
usage() {
cat <<EOF
-usage: drin $(basename
$0
.sh) [-h|--help]
+usage: drin $(basename
"$0"
.sh) [-h|--help]
Cleanup the project, removing all the installed files.
Cleanup the project, removing all the installed files.
@@
-51,8
+51,8
@@
echo
read -p "Type ${CONFIRMATION_STRING} to confirm: " INPUT
run() {
read -p "Type ${CONFIRMATION_STRING} to confirm: " INPUT
run() {
- echo
$*
- $*
+ echo
"$@"
+ "$@"
}
[ "$INPUT" = "$CONFIRMATION_STRING" ] && run sudo rm -rf config/ web/ vendor/ composer.lock
}
[ "$INPUT" = "$CONFIRMATION_STRING" ] && run sudo rm -rf config/ web/ vendor/ composer.lock