blob: 6ddbd6369c594a48f33d4541d4a6160b677ee149 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
|