Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMartin Dengler <martin@martindengler.com>2009-07-09 23:38:41 (GMT)
committer Martin Dengler <martin@martindengler.com>2009-07-09 23:38:41 (GMT)
commit58fd3c9d37a7940e6110d39915aef4b31f590cf0 (patch)
tree00eee8d9fe41e723b0008a39bc1c6609d525e86e /build
parent135d9fd4e59fe2c91c7ccea13cb37d1e51517b4c (diff)
keep separate logs per build
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/build b/build
index 9dcfad7..bf87f01 100755
--- a/build
+++ b/build
@@ -1,17 +1,17 @@
#!/bin/bash
pushd images
-date >> buildlog
prevbuild=$(<lastbuild)
buildstem=$(python -c "print '$prevbuild'.split('.')[0][:-2];")
nextbuild=$(python -c "print '%0.2d' % (int('$prevbuild'.split('.')[0][-2:]) + 1);")
buildname=$buildstem$nextbuild
-echo building $buildname
-/usr/bin/time nice make -j 3 -f ../Makefile ${buildname}.done >> buildlog 2>&1
+date ; date >> ${buildname}.buildlog
+echo building $buildname ; echo building $buildname >> ${buildname}.buildlog
+/usr/bin/time nice make -j 3 -f ../Makefile ${buildname}.done >> ${buildname}.buildlog 2>&1
echo $buildname > lastbuild
-date >> buildlog
+date ; date >> ${buildname}.buildlog
popd