summaryrefslogtreecommitdiffhomepage
path: root/subr/build_init.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-03-05 13:21:40 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-03-05 13:21:40 +0000
commit7bed8897ea5cd2bb80f275f93e4287754bd5cc97 (patch)
tree6fe26f1f411be9005c380aa3bfa8620feec74390 /subr/build_init.subr
parent5b1e55bb7daacd534230163711c87b92a2927add (diff)
downloadmidipix_build-7bed8897ea5cd2bb80f275f93e4287754bd5cc97.tar.bz2
midipix_build-7bed8897ea5cd2bb80f275f93e4287754bd5cc97.tar.xz
subr/ex_pkg{,_dispatch}.subr: implement -r ***name[,..][:step,..]: forcibly rebuild all packages that depend on the specified package(s).
etc/{build.usage,README.md}, subr/build_init.subr: updated.
Diffstat (limited to 'subr/build_init.subr')
-rw-r--r--subr/build_init.subr4
1 files changed, 3 insertions, 1 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr
index 7d52d9b5..075affb3 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -10,7 +10,9 @@ buildp_init_args() {
_status="Git repository has not changed since last build and --as-needed was specified.";
fi;
if [ -n "${ARG_RESTART}" ]; then
- if [ "${ARG_RESTART#\*\*}" != "${ARG_RESTART}" ]; then
+ if [ "${ARG_RESTART#\*\*\*}" != "${ARG_RESTART}" ]; then
+ ARG_RESTART="${ARG_RESTART#\*\*\*}"; ARG_RESTART_RECURSIVE=3;
+ elif [ "${ARG_RESTART#\*\*}" != "${ARG_RESTART}" ]; then
ARG_RESTART="${ARG_RESTART#\*\*}"; ARG_RESTART_RECURSIVE=2;
elif [ "${ARG_RESTART#\*}" != "${ARG_RESTART}" ]; then
ARG_RESTART="${ARG_RESTART#\*}"; ARG_RESTART_RECURSIVE=1;