[SCM] swh-lv2/master: Use tar's --exclude-vcs option to strip .git directory out of the tarball.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue May 17 09:07:46 UTC 2011


The following commit has been merged in the master branch:
commit f41bac53f098a42260518af90c23773d85530e28
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue May 17 11:07:07 2011 +0200

    Use tar's --exclude-vcs option to strip .git directory out of the tarball.

diff --git a/debian/get-git-source.sh b/debian/get-git-source.sh
index fce39eb..e1a3e2e 100755
--- a/debian/get-git-source.sh
+++ b/debian/get-git-source.sh
@@ -20,5 +20,5 @@ SWH_LV2_GIT_COMMIT=$(eval "${GIT_COMMIT}")
 SWH_LV2_GIT_DATE=$(eval "${GIT_DATE}")
 cd .. && tar cjf \
 	${OLDDIR}/swh-lv2_${BASE_REL}+${SWH_LV2_GIT_DATE}.git${SWH_LV2_GIT_COMMIT}.orig.tar.bz2 \
-	swh-lv2 --exclude=.git --exclude=util/gsm
+	swh-lv2 --exclude-vcs --exclude=util/gsm
 rm -rf ${GOS_DIR}

-- 
swh-lv2 packaging



More information about the pkg-multimedia-commits mailing list