From 48dbe5078b4e0b96b85d86a523e7729b0624878a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 7 Dec 2016 21:18:49 +0000 Subject: subr/tarballs.subr: exclude ./native.bak/* from being included in the tarball. --- subr/tarballs.subr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'subr') 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; -- cgit v1.2.3