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