diff options
Diffstat (limited to 'vars/invariants_tarballs.vars')
-rw-r--r-- | vars/invariants_tarballs.vars | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/vars/invariants_tarballs.vars b/vars/invariants_tarballs.vars index 98020827..d9a6aaad 100644 --- a/vars/invariants_tarballs.vars +++ b/vars/invariants_tarballs.vars @@ -50,11 +50,12 @@ pkgp_dist_tarball_minipix() { pkgp_dist_tarball_src() { TARBALL_SRC_FNAME="${DEFAULT_TARBALL_SRC_FNAME_PREFIX}${BUILD_USER}@${BUILD_HNAME}-${BUILD_DATE_START}.tar.${DEFAULT_TARBALL_SUFFIX}"; ex_rtl_log_msg info "Building source tarball..."; - tar -cpf - $(find tmp -mindepth 2 -maxdepth 2 \ - -not -path tmp/.\* \ - -not -path tmp/ntctty\* \ - -not -path tmp/psxscl\* \ - -not -path tmp/ptycon\*) |\ + tar -C "${BUILD_WORKDIR}" -cpf - $(cd "${BUILD_WORKDIR}" && find \ + -maxdepth 1 -mindepth 1 \ + -name \*-\*-\* \ + \( -not -name ntctty\* \) \ + \( -not -name psxscl\* \) \ + \( -not -name ptycon\* \)) |\ "${TARBALL_COMPRESS_CMD}" ${TARBALL_COMPRESS_ARGS} -c > "${TARBALL_SRC_FNAME}"; ex_rtl_log_msg info "Finished building source tarball."; if [ -x "$(which gpg 2>/dev/null)" -a -n "${DEFAULT_TARBALL_SIGN_GPG_KEY}" ] && \ |