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

fixed excludes in tar ball creation for src rpm

(This used to be ctdb commit fe0662fb2cdf733c5c9da7e24641e89039cb3e54)
This commit is contained in:
Andrew Tridgell 2008-01-05 13:08:10 +11:00
parent a54b88dba2
commit 5180a3b756

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="*~" -cf - ctdb-${VERSION}/. | gzip -9 --rsyncable > ${SRCDIR}/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
echo "Done." echo "Done."
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Build failed!" echo "Build failed!"