aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-08-02 11:25:58 -0700
committerZac Medico <zmedico@gentoo.org>2011-08-02 11:25:58 -0700
commitb33f68f8b3ade6531d45ad79c72acbd7f0cb9109 (patch)
tree6dc23bb9a8a3984d0f65c507f9d0fdbb5cde500f /bin
parentunmerge: display preserved syms in ascending ord (diff)
downloadportage-b33f68f8b3ade6531d45ad79c72acbd7f0cb9109.tar.gz
portage-b33f68f8b3ade6531d45ad79c72acbd7f0cb9109.tar.bz2
portage-b33f68f8b3ade6531d45ad79c72acbd7f0cb9109.zip
unpack: remove backward compat for bug #376741v2.2.0_alpha50
This case is extremely rare, since the most common practice is to unpack source files that are already in the cwd. The only Gentoo packages that needed to be fixed were games-arcade/tuxpuck and www-plugins/google-talkplugin.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 3d4d5576a..d68e54b7b 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -373,18 +373,6 @@ unpack() {
local cwd_dest=${x##*/}
cwd_dest=${cwd_dest%.*}
$1 -c -- "${srcdir}${x}" > "${cwd_dest}" || die "$myfail"
- case "$EAPI" in
- 0|1|2|3|4|4-python)
- # If the source file is in a writable directory then
- # create a symlink for backward-compatible emulation
- # of tools like gunzip and bunzip2 (see bug #376741).
- if [[ ! -e ${x%.*} && -w ${x%/*} ]] && \
- [[ ${x} == "${PORTAGE_BUILDDIR}/"* ||
- ${x} == ./* || ${x} != /* ]] ; then
- ln -snf "${PWD}/${cwd_dest}" "${x%.*}"
- fi
- ;;
- esac
fi
}