mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
applied solaris8/netbsd/other fixes patch by Jürgen Keil <jk@tools.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1039 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "#define VERSION \"0.17cvs-"`date -r CVS/Entries +%y%m%d-%H:%M`"\"" >version.h
|
||||
|
||||
last_cvs_update=`date -r CVS/Entries +%y%m%d-%H:%M 2>/dev/null`
|
||||
if [ $? -ne 0 ]; then
|
||||
# probably no gnu date installed(?), use current date
|
||||
last_cvs_update=`date +%y%m%d-%H:%M`
|
||||
fi
|
||||
echo "#define VERSION \"0.17cvs-${last_cvs_update}\"" >version.h
|
||||
|
||||
Reference in New Issue
Block a user