aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian-descriptors/gitian-osx.yml
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2015-02-12 17:07:13 -0500
committerWladimir J. van der Laan <laanwj@gmail.com>2015-02-13 09:55:11 +0100
commit047a89831760ff124740fe9f58411d57ee087078 (patch)
tree53137e25098bccf9d319129a96b539a890476191 /contrib/gitian-descriptors/gitian-osx.yml
parent327d3e8824e1e2d31cbc8281a042429c99baaf5c (diff)
gitian: don't add . to tar listv0.10.0
Since permissions and timestamps are changed for the sake of determinism, . must not be added to the archive. Otherwise, tar may try to modify pwd when extracting. Rebased-From: 0c6ab676ee7d2071d48775d81116c86dacc6abf6 Github-Pull: #5790
Diffstat (limited to 'contrib/gitian-descriptors/gitian-osx.yml')
-rw-r--r--contrib/gitian-descriptors/gitian-osx.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gitian-descriptors/gitian-osx.yml b/contrib/gitian-descriptors/gitian-osx.yml
index 4f05aad233..c09786a56c 100644
--- a/contrib/gitian-descriptors/gitian-osx.yml
+++ b/contrib/gitian-descriptors/gitian-osx.yml
@@ -126,7 +126,7 @@ script: |
find . -name "lib*.la" -delete
find . -name "lib*.a" -delete
rm -rf ${DISTNAME}/lib/pkgconfig
- find . | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-${i}.tar.gz
+ find ${DISTNAME} | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-${i}.tar.gz
cd ../../
done
mkdir -p $OUTDIR/src