aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-05-01 10:14:31 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-05-01 10:14:31 -0500
commit9225bfa6918cfd488c8f1055cf986b542f1f157e (patch)
tree37569526e2bce76e069f3b116e0680699c88e447
parent7bd456ed7bf35da2d7a53650baa33637e178064e (diff)
Build: make snapshot remove .git directory from tarball
-rw-r--r--mk/dist.mk2
1 files changed, 1 insertions, 1 deletions
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}