diff options
author | Martin Dengler <martin@martindengler.com> | 2009-07-05 12:55:55 (GMT) |
---|---|---|
committer | Martin Dengler <martin@martindengler.com> | 2009-07-05 12:55:55 (GMT) |
commit | 85d195ef17c9dc9773404088c9743a265fdb429e (patch) | |
tree | f5c1031d6de4ab8276b9b87aaa5c97e795627b06 /build | |
parent | f18e05773e947c6254caf36a86a189ed5b208db4 (diff) |
simple build script
Diffstat (limited to 'build')
-rwxr-xr-x | build | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#!/bin/bash +pushd images +date >> buildlog +prevbuild=$(/bin/ls *.done | tail -1) +nextbuild=$(python -c "print '%0.2d' % (int('$prevbuild'.split('.')[0][-2:]) + 1);") +buildname=soasxo$nextbuild +echo building $buildname +time make -f ../Makefile $buildname >> buildlog 2>&1 +date >> buildlog +popd |