Mercurial > mplayer.hg
annotate version.sh @ 1396:3c7f13cb0a8a
Added double/normal resize patch by Wojtek Kaniewski <wojtekka at bydg.pdi.net>
author | atmos4 |
---|---|
date | Sat, 28 Jul 2001 05:54:02 +0000 |
parents | b36fb1ae4b53 |
children | 24c6d8b06b26 |
rev | line source |
---|---|
420 | 1 #!/bin/sh |
2 | |
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
672
diff
changeset
|
3 last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null` |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
672
diff
changeset
|
4 if [ $? -ne 0 ]; then |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
672
diff
changeset
|
5 # probably no gnu date installed(?), use current date |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
672
diff
changeset
|
6 last_cvs_update=`date +%y%m%d-%H:%M` |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
672
diff
changeset
|
7 fi |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
672
diff
changeset
|
8 echo "#define VERSION \"0.17cvs-${last_cvs_update}\"" >version.h |