4 gitver=`git describe --abbrev=8 2>/dev/null`
6 if [ ! -f git-version.h ]; then
12 echo "#define RSYNC_GITVER \"$gitver\"" >git-version.h.new
13 if ! diff git-version.h.new git-version.h >/dev/null; then
14 echo "Updating git-version.h"
15 mv git-version.h.new git-version.h