]>
Dogcows Code - chaz/tint2/blob - get_svnrev.sh
11 if [ -f version.h
]; then
12 REV_OLD
=$(cat version.h | cut -d" " -f3)
17 if [ -x "$(which svnversion 2>/dev/null)" -a -d "${DIR}/.svn" ] ; then
18 REV
=\"$(svnversion -n ${DIR})\"
23 if [ ${REV_OLD} != ${REV} ]; then
24 echo "Building new version.h"
25 echo "Rev_old: ${REV_OLD} Rev: ${REV}"
26 echo "#define VERSION_STRING ${REV}" > version.h
This page took 0.036567 seconds and 4 git commands to generate.