diff --git a/compile b/compile old mode 100644 new mode 100755 index 0bfe49cdfb116a1e229ddff20c5a6d21ec05786a..5e89ed73c3273f3f3d8f483ab017a1fc860115a5 --- a/compile +++ b/compile @@ -6,6 +6,8 @@ cp src/config/start.tw.proto start.tw.tmp find src -name '*.tw' -print >>start.tw.tmp mv start.tw.tmp src/config/start.tw -./devTools/tweeGo/tweego -o bin/FC.html src/config/start.tw +HASH=`git log -n1 |grep commit | sed 's/commit //'` + +./devTools/tweeGo/tweego -o bin/FC_pregmod_$HASH.html src/config/start.tw rm src/config/start.tw \ No newline at end of file