summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-07-21 11:22:46 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-07-21 11:22:46 +0000
commitec813227662caaa5434a528768f7c1467172be89 (patch)
tree604531d5215ba21e435a0418527a47e46ca6153e /build.sh
parent8d03b33b9eeeb087dc28e939f76dcedf7fed17e8 (diff)
downloadmidipix_build-ec813227662caaa5434a528768f7c1467172be89.tar.bz2
midipix_build-ec813227662caaa5434a528768f7c1467172be89.tar.xz
Adds -pi (old -i, insert build script) and -pr (remove build script.)
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index a09f1b3a..a6977fa5 100755
--- a/build.sh
+++ b/build.sh
@@ -15,7 +15,8 @@ case ${1} in
-x) ARG_XTRACE=1; set -o xtrace; ;;
-a) [ -z "${2}" ] && exec cat build.usage || ARCH="${2}"; shift; ;;
-b) [ -z "${2}" ] && exec cat build.usage || BUILD="${2}"; shift; ;;
--i) [ -z "${2}" ] && exec cat build.usage || insert_build_script_link "${2}"; exit; ;;
+-pi) [ -z "${2}" ] && exec cat build.usage || insert_build_script_link "${2}"; exit; ;;
+-pr) [ -z "${2}" ] && exec cat build.usage || remove_build_script_link "${2}"; exit; ;;
-r) [ -n "${ARG_RESTART_SCRIPT}" ] && exec cat build.usage;
if [ "${2#*:*}" != "${2}" ]; then
ARG_RESTART_SCRIPT="${2%%:*}"; ARG_RESTART_SCRIPT_AT="${2##*:}";