diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-25 11:18:34 +0200 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-25 11:18:34 +0200 |
commit | 5b967c476ac5a1d9fffb7ebf334090659ac9830c (patch) | |
tree | 3186e1932401c656749c87fa239c7f6ef6cc8b23 /999.tarballs.build | |
parent | ca4ed63984d204767204e5ebee7fa913cdb4ac8b (diff) | |
download | midipix_build-5b967c476ac5a1d9fffb7ebf334090659ac9830c.tar.bz2 midipix_build-5b967c476ac5a1d9fffb7ebf334090659ac9830c.tar.xz |
Only obtain {ntctty,psxscl} from ${GITROOT_HEAD} and exclude ${WORKDIR}/tmp/{ntctty,psxscl}/.git from the source tarball.
Diffstat (limited to '999.tarballs.build')
-rw-r--r-- | 999.tarballs.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/999.tarballs.build b/999.tarballs.build index 7ff794a7..3d4829a6 100644 --- a/999.tarballs.build +++ b/999.tarballs.build @@ -57,7 +57,10 @@ log_msg info "Restored ${PREFIX_BASENAME}/lib."; log_msg info "Building source tarball..."; -tar -cpf - $(find tmp -mindepth 1 -maxdepth 1 -type d) |\ +tar -cpf - $(find tmp -mindepth 1 -maxdepth 2 \ + -not -path tmp/.\* \ + -not -path tmp/\*.tar\* -not -path tmp/\*.tgz -not -path tmp/\*.txz \ + -not -path tmp/ntctty/.git -not -path tmp/psxscl/.git) |\ ${TARBALL_COMPRESS_CMD} ${TARBALL_COMPRESS_ARGS} -c > ${TARBALL_SRC_FNAME}; log_msg info "Finished building source tarball."; if [ -x "$(which gpg 2>/dev/null)" -a -n "${TARBALL_SRC_SIGN_GPG_KEY}" ] &&\ |