projects
/
buildbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e1a326
)
phase1: restore 'build' directory after expiry
author
Thibaut VARÈNE
<hacks@slashdirt.org>
Tue, 26 Jun 2018 15:48:08 +0000
(17:48 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 26 Jun 2018 20:11:47 +0000
(22:11 +0200)
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 <hacks@slashdirt.org>
phase1/expire.sh
patch
|
blob
|
history
diff --git
a/phase1/expire.sh
b/phase1/expire.sh
index 2313d196719f6878f39dab11794d690c1c7b66e4..e965f845b93ff38c3ec17c4e619ef14ae5a40e31 100755
(executable)
--- 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