~ubuntu-branches/debian/experimental/smplayer/experimental

« back to all changes in this revision

Viewing changes to get_svn_revision.sh

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-01-03 17:08:06 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090103170806-eodntb2slv6g2pb6
Tags: 0.6.6-0ubuntu1
* The "just before FF" release.
* New upstream release.
* debian/control: Bumped Standards-Version to 3.8.0.
* debian/copyright: Changed (C) to © to fix Lintian warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# This file is taken from the MPlayer sources, and adapted a little bit.
4
4
# It gets the SVN revision number and then saves it in two files:
5
 
# src/svn_revision.h and svn_revision.txt.
 
5
# src/svn_revision.h and svn_revision
6
6
 
7
7
test "$1" && extra="-$1"
8
8
 
17
17
# Update version.h only on revision changes to avoid spurious rebuilds
18
18
if test "$NEW_REVISION" != "$OLD_REVISION"; then
19
19
    echo "$NEW_REVISION" > src/svn_revision.h
20
 
        echo "SVN-r${svn_revision}${extra}" > svn_revision.txt
 
20
        echo "SVN-r${svn_revision}${extra}" > svn_revision
21
21
fi