summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg.subr5
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