source:
smplayer/vendor/0.7.1/get_svn_revision.sh@
179
| Last change on this file since 179 was 90, checked in by , 16 years ago | |
|---|---|
| File size: 887 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | # This file is taken from the MPlayer sources, and adapted a little bit. |
| 4 | # It gets the SVN revision number and then saves it in two files: |
| 5 | # src/svn_revision.h and svn_revision |
| 6 | |
| 7 | test "$1" && extra="-$1" |
| 8 | |
| 9 | svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2` |
