From 413df39073ee4f58aa007e3908f7c01bc967b3dd Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Nov 21 2016 14:15:46 +0000 Subject: build.sh: fix -r ...:... --- diff --git a/build.sh b/build.sh index 435f7e6..e9aacdf 100755 --- a/build.sh +++ b/build.sh @@ -81,7 +81,8 @@ for BUILD_TARGET_LC in $(subst_tgts ${BUILD_TARGETS_META}); do fi; continue; fi; - if is_build_script_done finish "${BUILD_PACKAGE_LC}"; then + if [ -z "${ARG_RESTART}" ]\ + && is_build_script_done finish "${BUILD_PACKAGE_LC}"; then log_msg vnfo "Skipped \`${BUILD_PACKAGE_LC}' (already built.)"; : $((BUILD_NSKIP+=1)); BUILD_SCRIPT_RC=0; continue; fi;