commit: 9225bfa6918cfd488c8f1055cf986b542f1f157e Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> AuthorDate: Fri May 1 15:14:31 2015 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Fri May 1 15:14:31 2015 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=9225bfa6
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 13ec40a..a986e60 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}