summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
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;