1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

don't ship the .git directory in the srpm

(This used to be ctdb commit 0e88962c3f37eb38c4c6bfec918ce833b4481170)
This commit is contained in:
Andrew Tridgell 2008-02-08 13:22:47 +11:00
parent 60e2a45454
commit 1ff6e08f78

View File

@ -60,7 +60,7 @@ ln -s $BASEDIR ctdb-${VERSION} || exit 1
REMOVE_LN=$PWD/ctdb-$VERSION REMOVE_LN=$PWD/ctdb-$VERSION
echo -n "Creating ctdb-${VERSION}.tar.gz ... " echo -n "Creating ctdb-${VERSION}.tar.gz ... "
tar --exclude=.bzr --exclude .bzrignore --exclude="*~" --exclude=configure --exclude="test.db*" --exclude="#*" --exclude="push*.sh" --exclude="publish*.sh" -cf - ctdb-${VERSION}/. | gzip -9 --rsyncable > ${SRCDIR}/ctdb-${VERSION}.tar.gz tar --exclude=.bzr --exclude=.git --exclude .bzrignore --exclude="*~" --exclude=configure --exclude="test.db*" --exclude="#*" --exclude="push*.sh" --exclude="publish*.sh" -cf - ctdb-${VERSION}/. | gzip -9 --rsyncable > ${SRCDIR}/ctdb-${VERSION}.tar.gz
echo "Done." echo "Done."
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Build failed!" echo "Build failed!"