From: Thibaut VARÈNE Date: Tue, 26 Jun 2018 15:48:08 +0000 (+0200) Subject: phase1: restore 'build' directory after expiry X-Git-Tag: v1~135 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f4b39674f289308be4b63504e00be1e69eeaea99;p=buildbot.git phase1: restore 'build' directory after expiry expire.sh wipes the salve 'build' directory, which throws the next step out of its track as os.path.exists() and os.makedirs() do not agree. Recreate the 'build' directory after expire has deleted everything. Signed-off-by: Thibaut VARÈNE --- diff --git a/phase1/expire.sh b/phase1/expire.sh index 2313d19..e965f84 100755 --- a/phase1/expire.sh +++ b/phase1/expire.sh @@ -14,6 +14,8 @@ elif [ $tree_age -ge $max_lifetime ]; then printf "." done + mkdir build + echo "" echo "Writing new timestamp" date +%s > tree.timestamp