From 9225bfa6918cfd488c8f1055cf986b542f1f157e Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 1 May 2015 10:14:31 -0500 Subject: Build: make snapshot remove .git directory from tarball --- mk/dist.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/dist.mk b/mk/dist.mk index 13ec40ab..a986e608 100644 --- a/mk/dist.mk +++ b/mk/dist.mk @@ -34,7 +34,7 @@ snapshot: mkdir /tmp/${SNAPDIR} cp -RPp * /tmp/${SNAPDIR} (cd /tmp/${SNAPDIR}; make clean) - find /tmp/${SNAPDIR} -name .svn -exec rm -rf -- {} \; 2>/dev/null || true + rm -rf /tmp/${SNAPDIR}/.git 2>/dev/null || true tar -cvjpf ${SNAPFILE} -C /tmp ${SNAPDIR} rm -rf /tmp/${SNAPDIR} ls -l ${SNAPFILE} -- cgit v1.2.3