File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / rsync / mkgitver
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:32:36 2021 UTC (3 years, 9 months ago) by misho
Branches: rsync, MAIN
CVS tags: v3_2_3, HEAD
rsync 3.2.3

#!/bin/sh

srcdir=`dirname $0`
gitver=`git describe --abbrev=8 2>/dev/null`

if test x"$gitver" != x; then
    gitver=\""$gitver"\"
else
    gitver=RSYNC_VERSION
fi
echo "#define RSYNC_GITVER $gitver" >git-version.h

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>