diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-20 12:50:04 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-20 12:50:04 +0000 |
commit | b1ff2c5589dc61d56f4870dfae2f3a01036f90a5 (patch) | |
tree | 36e09412f9a0ff6f4ecea6c4cf65275eab1f10d0 | |
parent | 1637590528c8dc789fbab5456951f9d3b5627e1e (diff) | |
download | mpv-b1ff2c5589dc61d56f4870dfae2f3a01036f90a5.tar.bz2 mpv-b1ff2c5589dc61d56f4870dfae2f3a01036f90a5.tar.xz |
moved to to avoid CVS-XXYYZZ- versions (if no given) - altought this comment is bigger than the patch :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7448 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | version.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/version.sh b/version.sh index dbd9b972a6..1125798eda 100755 --- a/version.sh +++ b/version.sh @@ -9,4 +9,8 @@ elif test `uname -s` = 'Darwin' ; then 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 |