diff options
author | Reinhard Tartler <siretart@tauware.de> | 2007-04-05 15:25:19 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2007-04-05 15:25:19 +0200 |
commit | d0c7529cb9833ede3595051df5599a11fe03be48 (patch) | |
tree | 4e63b581f10aa58e714cbf5f08f8c4ade0c09fff /svn_version.sh | |
parent | 3811bca55e79006fb5c3dc8f25d8ef29ccdda758 (diff) | |
download | lcd4linux-d0c7529cb9833ede3595051df5599a11fe03be48.tar.gz |
import new upstream
Diffstat (limited to 'svn_version.sh')
-rwxr-xr-x | svn_version.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/svn_version.sh b/svn_version.sh new file mode 100755 index 0000000..6ddbd63 --- /dev/null +++ b/svn_version.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# $Id: svn_version.sh 756 2007-01-23 04:38:43Z michael $ +# $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/svn_version.sh $ + + +OLD_VERSION=`cat svn_version.h 2>/dev/null` + +if [ -d .svn ]; then + NEW_VERSION="#define SVN_VERSION \"`svnversion -n`\"" +fi + +if [ "$NEW_VERSION" != "$OLD_VERSION" ]; then + echo $NEW_VERSION >svn_version.h +fi |