summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-03-02 12:44:33 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-03-02 12:44:33 +0100
commitd824e1e651835014ce7c5d9b0c21f7bc403d5646 (patch)
treecab5a84dbd39e4c50f6190f67661d26af2c29edf /build.sh
parent0fdea6e043b65b79add983ab6b196b479c768e3d (diff)
downloadmidipix_build-d824e1e651835014ce7c5d9b0c21f7bc403d5646.tar.bz2
midipix_build-d824e1e651835014ce7c5d9b0c21f7bc403d5646.tar.xz
- Emit warnings whenever a potentially dangerous operation is invoked by the build scripts.
Currently, this only includes rm_if_exists(). - Adds pedantic mode (-pt,) which additionally adds manual confirmation of each potentially dangerous operation.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 26879b1f..db7c9cd0 100755
--- a/build.sh
+++ b/build.sh
@@ -8,6 +8,7 @@ while [ ${#} -gt 0 ]; do
case ${1} in
-c) ARG_CLEAN=1; ;;
-nd) ARG_NO_DOWNLOAD=1; ;;
+-pt) ARG_PEDANTIC=1; ;;
-r) [ -n "${ARG_RESTART_SCRIPT}" ] && exec cat build.usage;
match_any "${2}" : \
&& { ARG_RESTART_SCRIPT="${2%%:*}"; ARG_RESTART_SCRIPT_AT="${2##*:}"; } \