summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-12-07 21:18:49 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-12-07 21:18:49 +0000
commit48dbe5078b4e0b96b85d86a523e7729b0624878a (patch)
treecfca9ef51cfd9a133de987a0fbb0d458ecf73d1c
parent8523a8508b3b3350547e842ace63b10bd22a8fe7 (diff)
downloadmidipix_build-48dbe5078b4e0b96b85d86a523e7729b0624878a.tar.bz2
midipix_build-48dbe5078b4e0b96b85d86a523e7729b0624878a.tar.xz
subr/tarballs.subr: exclude ./native.bak/* from being included in the tarball.
-rw-r--r--subr/tarballs.subr3
1 files changed, 2 insertions, 1 deletions
diff --git a/subr/tarballs.subr b/subr/tarballs.subr
index e74af0f0..afd75b57 100644
--- a/subr/tarballs.subr
+++ b/subr/tarballs.subr
@@ -23,6 +23,7 @@ do_tarball_dist() {
tar -cpf - $(find . -maxdepth 2 -mindepth 1 -type d \
-not -path ./${PREFIX_BASENAME} \
-not -path ./${PREFIX_BASENAME}.bak \
+ -not -path ./${PREFIX_BASENAME}.bak/\* \
-not -path ./tmp -not -path ./tmp/\*) \
midipix_shortcut.vbs midipix.sh README |\
${TARBALL_COMPRESS_CMD} ${TARBALL_COMPRESS_ARGS} -c > ${TARBALL_FNAME};
@@ -108,7 +109,7 @@ do_tarballs() {
*) log_msg failexit "Unknown tarball suffix \`.${TARBALL_SUFFIX}'.";
esac;
cd ${PREFIX}; PREFIX_BASENAME=${PREFIX_NATIVE##*/};
- do_tarball_dist; do_tarball_toolchain; do_tarball_minipix;
+ do_tarball_dist; exit 1; do_tarball_toolchain; do_tarball_minipix;
if [ "${BUILD}" = "debug" ]; then
do_tarball_src;
fi;