Ignore:
Timestamp:
Apr 30, 2012, 7:09:25 PM (14 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer vendor: 0.8.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • smplayer/vendor/current/get_svn_revision.sh

    r90 r130  
    88
    99svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
     10
    1011test $svn_revision || svn_revision=`cd "$1" && grep revision .svn/entries 2>/dev/null | cut -d '"' -f2`
    1112test $svn_revision || svn_revision=`cd "$1" && sed -n -e '/^dir$/{n;p;q}' .svn/entries 2>/dev/null`
    1213test $svn_revision || svn_revision=0UNKNOWN
    1314
     15
     16
     17
    1418NEW_REVISION="#define SVN_REVISION \"SVN-r${svn_revision}${extra}\""
    1519OLD_REVISION=`cat src/svn_revision.h 2> /dev/null`
Note: See TracChangeset for help on using the changeset viewer.