summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
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##*:}";