summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr/pkg.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/pkg.subr b/subr/pkg.subr
index a3b66e2d..0654c4aa 100644
--- a/subr/pkg.subr
+++ b/subr/pkg.subr
@@ -50,7 +50,7 @@ is_build_script_done() {
return 1; # Build
elif match_list "${ARG_RESTART}" , ${BUILD_PACKAGE_LC}; then
if [ -n "${ARG_RESTART_AT}" ] \
- && [ "${ARG_RESTART_AT}" != "${1}" ]; then
+ && ! match_list "${ARG_RESTART_AT}" , "${1}"; then
return 0; # Skip
else
return 1; # Build