From 413df39073ee4f58aa007e3908f7c01bc967b3dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Mon, 21 Nov 2016 15:15:46 +0100 Subject: build.sh: fix -r ...:... --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 435f7e63..e9aacdf8 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; -- cgit v1.2.3