diff options
author | Martin Dengler <martin@martindengler.com> | 2009-07-06 23:10:27 (GMT) |
---|---|---|
committer | Martin Dengler <martin@martindengler.com> | 2009-07-06 23:10:27 (GMT) |
commit | cb31f5492378c8ada5b9efac55d8eca7f910027c (patch) | |
tree | 44ff377b4dee262091e2f2c8e0eef53416d5f210 /build | |
parent | dc0a2ed292bac5409e24c23a34b6c08713e69bfa (diff) |
build: overcomplicate next build naming process
Diffstat (limited to 'build')
-rwxr-xr-x | build | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,8 +2,9 @@ pushd images date >> buildlog prevbuild=$(/bin/ls *.done | tail -1) +buildstem=$(python -c "print '$prevbuild'.split('.')[0][:-2];") nextbuild=$(python -c "print '%0.2d' % (int('$prevbuild'.split('.')[0][-2:]) + 1);") -buildname=soasxo$nextbuild +buildname=$buildstem$nextbuild echo building $buildname /usr/bin/time nice make -j 3 -f ../Makefile ${buildname}.done >> buildlog 2>&1 date >> buildlog |