mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@756 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
16 lines
242 B
Bash
Executable File
16 lines
242 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# $Id$
|
|
# $URL$
|
|
|
|
|
|
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
|