Update of /cvsroot/mplayer/main In directory mail:/var/tmp.root/cvs-serv21873 Modified Files: version.sh Log Message: moved to to avoid CVS-XXYYZZ- versions (if no given) - altought this comment is bigger than the patch :) Index: version.sh =================================================================== RCS file: /cvsroot/mplayer/main/version.sh,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- version.sh 3 May 2002 19:17:19 -0000 1.8 +++ version.sh 20 Sep 2002 12:50:04 -0000 1.9 @@ -9,4 +9,8 @@ last_cvs_update=`date +%y%m%d-%H:%M` fi -echo "#define VERSION \"CVS-${last_cvs_update}-$1 \"" >version.h +extra="" +if test $1 ; then + extra="-$1" +fi +echo "#define VERSION \"CVS-${last_cvs_update}${extra} \"" >version.h
participants (2)
-
Alex Beregszaszi -
D Richard Felker III