summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-knecht6
1 files changed, 5 insertions, 1 deletions
diff --git a/build-knecht b/build-knecht
index 3cc7c29..9e23956 100755
--- a/build-knecht
+++ b/build-knecht
@@ -34,6 +34,10 @@ while true; do
--arch "${arch}" \
|| true
- sleep 60
+ sleep $(
+ printf '60 + e(l(%s-%s)/2)\n' $(date +%s) $(git log -1 --pretty='format:%at') \
+ | bc -l \
+ | cut -d. -f1
+ )
done