aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian/gitian-linux.yml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gitian/gitian-linux.yml')
-rw-r--r--contrib/gitian/gitian-linux.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/gitian/gitian-linux.yml b/contrib/gitian/gitian-linux.yml
index 751fbadd3..e64e28bbc 100644
--- a/contrib/gitian/gitian-linux.yml
+++ b/contrib/gitian/gitian-linux.yml
@@ -154,9 +154,9 @@ script: |
mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=${BASEPREFIX}/${i}/share/toolchain.cmake
make
- DISTNAME=monero-${i}.tar.gz
- tar -cvzf $DISTNAME bin/*
- cp $DISTNAME $OUTDIR/
+ DISTNAME=monero-${i}
+ mv bin ${DISTNAME}
+ find ${DISTNAME}/ | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}.tar.gz
cd ..
rm -rf build
done