source: smplayer/vendor/0.7.1/get_svn_revision.sh@ 179

Last change on this file since 179 was 90, checked in by Silvan Scherrer, 16 years ago

smplayer: import 0.6.9

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
7test "$1" && extra="-$1"
8
9svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`