]> Joshua Wise's Git repositories - tdl.git/blob - mkversion
Fall back on index for sort if the due date is the same, not just if both due dates...
[tdl.git] / mkversion
1 #!/bin/sh
2
3 rm -f version.h
4 echo "#ifndef VERSION_H" > version.h
5 echo "#define VERSION_H 1" >> version.h
6
7 if [ -f version.txt ]; then
8         ver=`cat version.txt`
9         echo "#define PROGRAM_VERSION \"$ver\"" >> version.h
10 else
11         echo "#define PROGRAM_VERSION \"DEVELOPMENT\"" >> version.h
12 fi
13
14 echo "#endif /* VERSION_H */" >> version.h
15
This page took 0.023746 seconds and 4 git commands to generate.