Changeset 130 for smplayer/vendor/current/get_svn_revision.sh
- Timestamp:
- Apr 30, 2012, 7:09:25 PM (14 years ago)
- File:
-
- 1 edited
-
smplayer/vendor/current/get_svn_revision.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/get_svn_revision.sh
r90 r130 8 8 9 9 svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2` 10 10 11 test $svn_revision || svn_revision=`cd "$1" && grep revision .svn/entries 2>/dev/null | cut -d '"' -f2` 11 12 test $svn_revision || svn_revision=`cd "$1" && sed -n -e '/^dir$/{n;p;q}' .svn/entries 2>/dev/null` 12 13 test $svn_revision || svn_revision=0UNKNOWN 13 14 15 16 17 14 18 NEW_REVISION="#define SVN_REVISION \"SVN-r${svn_revision}${extra}\"" 15 19 OLD_REVISION=`cat src/svn_revision.h 2> /dev/null`
Note:
See TracChangeset
for help on using the changeset viewer.
