summaryrefslogtreecommitdiffhomepage
path: root/build.subr
diff options
context:
space:
mode:
Diffstat (limited to 'build.subr')
-rw-r--r--build.subr8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.subr b/build.subr
index 349b9f61..c044fe2b 100644
--- a/build.subr
+++ b/build.subr
@@ -128,11 +128,11 @@ compare_hash_manifest() {
};
is_build_script_done() {
- if [ -n "${ARG_BUILD_STEPS}" ]; then
- if [ "${ARG_BUILD_STEPS}" = "finish" ]\
- || [ -z "${ARG_BUILD_STEPS#ALL}" ]; then
+ if [ -n "${ARG_RESTART_SCRIPT_AT}" ]; then
+ if [ "${1}" = "finish" ]\
+ || [ -z "${ARG_RESTART_SCRIPT_AT#ALL}" ]; then
return 1; # Build
- elif ! match_list ${ARG_BUILD_STEPS} , ${1}; then
+ elif ! match_list ${ARG_RESTART_SCRIPT_AT} , ${1}; then
return 0; # Skip
else
return 1; # Build