From 85bb6db32a44001d1f01256cbbf11d6d47c6dc1e Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Nov 29 2017 17:15:13 +0000 Subject: vars/dist_tarballs.vars:pkgp_dist_tarball_src(): update find(1) -not pathnames. --- diff --git a/vars/dist_tarballs.vars b/vars/dist_tarballs.vars index f39ac17..dcb6a8d 100644 --- a/vars/dist_tarballs.vars +++ b/vars/dist_tarballs.vars @@ -52,9 +52,12 @@ pkgp_dist_tarball_src() { ex_log_msg info "Building source tarball..."; tar -cpf - $(find tmp -mindepth 2 -maxdepth 2 \ -not -path tmp/.\* \ - -not -path tmp/ntctty/.git \ - -not -path tmp/psxscl/.git \ - -not -path tmp/ptycon/.git) |\ + -not -path tmp/ntctty\*/ntctty/.git \ + -not -path tmp/psxscl\*/psxscl/.git \ + -not -path tmp/ptycon\*/ptycon/.git \ + -not -path tmp/ntctty\*.log \ + -not -path tmp/psxscl\*.log \ + -not -path tmp/ptycon\*.log) |\ "${TARBALL_COMPRESS_CMD}" ${TARBALL_COMPRESS_ARGS} -c > "${TARBALL_SRC_FNAME}"; ex_log_msg info "Finished building source tarball."; if [ -x "$(which gpg 2>/dev/null)" -a -n "${TARBALL_SIGN_GPG_KEY}" ] && \