diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2015-05-01 10:14:31 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2015-05-01 10:14:31 -0500 |
commit | 9225bfa6918cfd488c8f1055cf986b542f1f157e (patch) | |
tree | 37569526e2bce76e069f3b116e0680699c88e447 | |
parent | 7bd456ed7bf35da2d7a53650baa33637e178064e (diff) |
Build: make snapshot remove .git directory from tarball
-rw-r--r-- | mk/dist.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} |