blob: 776793e241dd7262cccbb9046cc9a15131faead8 (
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/trunk/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
|