File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / rsync / mkgitver
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:32:36 2021 UTC (4 years ago) by misho
CVS tags: MAIN, HEAD
Initial revision

#!/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>