diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-12-08 21:26:15 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-12-08 21:26:15 +0100 |
commit | ea7997214af886326cc0494111fe98f888d93671 (patch) | |
tree | c0e8ee8742641a23315ff8d96a728e3b1a6adde6 /subr | |
parent | 48dbe5078b4e0b96b85d86a523e7729b0624878a (diff) | |
download | midipix_build-ea7997214af886326cc0494111fe98f888d93671.tar.bz2 midipix_build-ea7997214af886326cc0494111fe98f888d93671.tar.xz |
build.sh, subr/pkg.subr: fix -r ALL.
Diffstat (limited to 'subr')
-rw-r--r-- | subr/pkg.subr | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subr/pkg.subr b/subr/pkg.subr index 0787394e..a3b66e2d 100644 --- a/subr/pkg.subr +++ b/subr/pkg.subr @@ -45,7 +45,10 @@ fetch_git() { }; is_build_script_done() { - if match_list "${ARG_RESTART}" , ${BUILD_PACKAGE_LC}; then + if [ "${1}" != "clean" ]\ + && [ "${ARG_RESTART}" = "ALL" ]; then + return 1; # Build + elif match_list "${ARG_RESTART}" , ${BUILD_PACKAGE_LC}; then if [ -n "${ARG_RESTART_AT}" ] \ && [ "${ARG_RESTART_AT}" != "${1}" ]; then return 0; # Skip |