summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-12 16:17:46 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-12 16:17:46 +0100
commite204914bfc3a0abe3495fd1b2e685dd4aa0d8e19 (patch)
treecfdb7a6a80eb30c3ba658fbf9ec6bd8f0615dabb
parent204df2684b020fd5c8bd959c9f901ec3090cdc14 (diff)
downloadmidipix_build-e204914bfc3a0abe3495fd1b2e685dd4aa0d8e19.tar.bz2
midipix_build-e204914bfc3a0abe3495fd1b2e685dd4aa0d8e19.tar.xz
subr/build_init.subr:buildp_init_args(): skip unknown packages check given -r ALL|LAST (via duvallj.)
-rw-r--r--subr/build_init.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr
index 436c45c5..af9a0a8e 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -61,7 +61,7 @@ buildp_init_args() {
if [ -n "${ARG_DIST}" ]; then
BUILD_GROUPS="$(rtl_lconcat "$(rtl_lfilter "${BUILD_GROUPS}" "dist")" "dist")";
fi;
- if [ -n "${ARG_RESTART}" ]; then
+ if [ -n "${ARG_RESTART}" ] && ! rtl_lmatch "${ARG_RESTART}" "ALL LAST"; then
for _pkg_name in ${ARG_RESTART}; do
if ! ex_pkg_find_package "${BUILD_GROUPS}" "${_pkg_name}" >/dev/null; then
_pkg_names_unknown="$(rtl_lconcat "${_pkg_names_unknown}" "${_pkg_name}")";