release: by default leave src/.git

. facilitates easy updates of installs
	. removal can be restored with release.sh -m
This commit is contained in:
Ben Gras
2011-10-07 13:56:55 +00:00
parent 586776e98b
commit 391372193c
+3 -1
View File
@@ -205,7 +205,9 @@ then
else REVTAG=`(cd $srcdir && git show-ref HEAD -s10)`
echo "Retrieved repository head is $REVTAG."
fi
rm -r $srcdir/.git
if [ $MINIMAL -ne 0 ]
then rm -r $srcdir/.git
fi
echo "
/* Added by release script */
#ifndef _VCS_REVISION