413df3 build.sh: fix -r ...:...

Authored and Committed by Lucio Andrés Illanes Albornoz (arab, vxp) 8 years ago
1 file changed. 2 lines added. 1 lines removed.
    build.sh: fix -r ...:...
    
        
file modified
+2 -1
build.sh CHANGED
@@ -81,7 +81,8 @@ for BUILD_TARGET_LC in $(subst_tgts ${BUILD_TARGETS_META}); do
81
81
fi;
82
82
continue;
83
83
fi;
84
- if is_build_script_done finish "${BUILD_PACKAGE_LC}"; then
84
+ if [ -z "${ARG_RESTART}" ]\
85
+ && is_build_script_done finish "${BUILD_PACKAGE_LC}"; then
85
86
log_msg vnfo "Skipped \`${BUILD_PACKAGE_LC}' (already built.)";
86
87
: $((BUILD_NSKIP+=1)); BUILD_SCRIPT_RC=0; continue;
87
88
fi;