summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-19 19:39:36 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-19 19:39:36 +0000
commit692e7cb57ba887afe43aeb60d67c7cf0912e935d (patch)
tree60bad53c2f2ae7fc7013f885eb231f25cfb4d4bd /subr
parent58542697c14bae5c8d81bb2c1cc60dd015cdc0c6 (diff)
downloadmidipix_build-692e7cb57ba887afe43aeb60d67c7cf0912e935d.tar.bz2
midipix_build-692e7cb57ba887afe43aeb60d67c7cf0912e935d.tar.xz
subr/tarballs.subr: remove symlink conversion logic from do_tarball_dist() as it is no longer needed.
Diffstat (limited to 'subr')
-rw-r--r--subr/tarballs.subr24
1 files changed, 0 insertions, 24 deletions
diff --git a/subr/tarballs.subr b/subr/tarballs.subr
index 2b306180..f0e6e526 100644
--- a/subr/tarballs.subr
+++ b/subr/tarballs.subr
@@ -4,22 +4,6 @@
do_tarball_dist() {
TARBALL_FNAME=${TARBALL_FNAME_PREFIX}${BUILD_USER}@${BUILD_HNAME}-${BUILD_DATE_START}.tar.${TARBALL_SUFFIX};
- secure_rm ${PREFIX_BASENAME}.bak;
- insecure_mkdir ${PREFIX_BASENAME}.bak;
- log_msg info "Converting symbolic links in ${PREFIX_BASENAME} to hard links...";
- for _dtd_lname in $(find ${PREFIX_BASENAME} -type l); do
- _dtd_fname="$(readlink -f -- ${_dtd_lname})";
- if [ -f "${_dtd_fname}" ]; then
- _dtd_dname_new="${_dtd_lname%/*}";
- _dtd_dname_new="${_dtd_dname_new%/}/";
- _dtd_dname_new="${PREFIX_BASENAME}.bak/${_dtd_dname_new#${PREFIX_BASENAME}/}";
- insecure_mkdir "${_dtd_dname_new}";
- cp -P "${_dtd_lname}" "${_dtd_dname_new}";
- secure_rm "${_dtd_lname}";
- ln -f -- "${_dtd_fname}" "${_dtd_lname}";
- fi;
- done;
- log_msg info "Converted symbolic links in ${PREFIX_BASENAME} to hard links.";
tar -cpf - $(find . -maxdepth 2 -mindepth 1 -type d \
-not -path ./${PREFIX_BASENAME} \
-not -path ./${PREFIX_BASENAME}.bak \
@@ -34,14 +18,6 @@ do_tarball_dist() {
--local-user "${TARBALL_SIGN_GPG_KEY}" --sign ${TARBALL_FNAME};
log_msg info "Signed binary distribution tarball.";
fi;
-
- for _dtd_lname in $(find ${PREFIX_BASENAME}.bak -type l); do
- _dtd_lname_orig="${PREFIX_BASENAME}${_dtd_lname#${PREFIX_BASENAME}.bak}";
- secure_rm "${_dtd_lname_orig}";
- cp -P "${_dtd_lname}" "${_dtd_lname_orig}";
- done;
- secure_rm ${PREFIX_BASENAME}.bak;
- log_msg info "Restored ${PREFIX_BASENAME}.";
};
do_tarball_toolchain() {