Mercurial > mplayer.hg
changeset 7447:a49219323787
moved to to avoid CVS-XXYYZZ- versions (if no given) - altought this comment is bigger than the patch :)
author | alex |
---|---|
date | Fri, 20 Sep 2002 12:50:04 +0000 |
parents | ad00ad5f25a9 |
children | b464616d40b5 |
files | version.sh |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/version.sh Fri Sep 20 01:26:39 2002 +0000 +++ b/version.sh Fri Sep 20 12:50:04 2002 +0000 @@ -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