comparison version.sh @ 3292:7fa3a928631a

not it looks like this 'MPlayer CVS-011203-19:47-gcc-2.95.3'
author jaf
date Mon, 03 Dec 2001 19:13:34 +0000
parents 24c6d8b06b26
children 97c6bfbcb7a7
comparison
equal deleted inserted replaced
3291:2122a13b5a29 3292:7fa3a928631a
3 last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null` 3 last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null`
4 if [ $? -ne 0 ]; then 4 if [ $? -ne 0 ]; then
5 # probably no gnu date installed(?), use current date 5 # probably no gnu date installed(?), use current date
6 last_cvs_update=`date +%y%m%d-%H:%M` 6 last_cvs_update=`date +%y%m%d-%H:%M`
7 fi 7 fi
8 echo "#define VERSION \"CVS-${last_cvs_update}\"" >version.h 8 gcc_version=`gcc --version`
9
10 echo "#define VERSION \"CVS-${last_cvs_update}-gcc-${gcc_version} \"" >version.h