Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: mk/
Date: Fri, 01 May 2015 15:15:29
Message-Id: 1430493271.9225bfa6918cfd488c8f1055cf986b542f1f157e.williamh@OpenRC
1 commit: 9225bfa6918cfd488c8f1055cf986b542f1f157e
2 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
3 AuthorDate: Fri May 1 15:14:31 2015 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Fri May 1 15:14:31 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=9225bfa6
7
8 Build: make snapshot remove .git directory from tarball
9
10 mk/dist.mk | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/mk/dist.mk b/mk/dist.mk
14 index 13ec40a..a986e60 100644
15 --- a/mk/dist.mk
16 +++ b/mk/dist.mk
17 @@ -34,7 +34,7 @@ snapshot:
18 mkdir /tmp/${SNAPDIR}
19 cp -RPp * /tmp/${SNAPDIR}
20 (cd /tmp/${SNAPDIR}; make clean)
21 - find /tmp/${SNAPDIR} -name .svn -exec rm -rf -- {} \; 2>/dev/null || true
22 + rm -rf /tmp/${SNAPDIR}/.git 2>/dev/null || true
23 tar -cvjpf ${SNAPFILE} -C /tmp ${SNAPDIR}
24 rm -rf /tmp/${SNAPDIR}
25 ls -l ${SNAPFILE}