1 |
commit: b33f68f8b3ade6531d45ad79c72acbd7f0cb9109 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 18:25:58 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 18:25:58 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b33f68f8 |
7 |
|
8 |
unpack: remove backward compat for bug #376741 |
9 |
|
10 |
This case is extremely rare, since the most common practice is to |
11 |
unpack source files that are already in the cwd. The only Gentoo |
12 |
packages that needed to be fixed were games-arcade/tuxpuck and |
13 |
www-plugins/google-talkplugin. |
14 |
|
15 |
--- |
16 |
bin/ebuild.sh | 12 ------------ |
17 |
1 files changed, 0 insertions(+), 12 deletions(-) |
18 |
|
19 |
diff --git a/bin/ebuild.sh b/bin/ebuild.sh |
20 |
index 3d4d557..d68e54b 100755 |
21 |
--- a/bin/ebuild.sh |
22 |
+++ b/bin/ebuild.sh |
23 |
@@ -373,18 +373,6 @@ unpack() { |
24 |
local cwd_dest=${x##*/} |
25 |
cwd_dest=${cwd_dest%.*} |
26 |
$1 -c -- "${srcdir}${x}" > "${cwd_dest}" || die "$myfail" |
27 |
- case "$EAPI" in |
28 |
- 0|1|2|3|4|4-python) |
29 |
- # If the source file is in a writable directory then |
30 |
- # create a symlink for backward-compatible emulation |
31 |
- # of tools like gunzip and bunzip2 (see bug #376741). |
32 |
- if [[ ! -e ${x%.*} && -w ${x%/*} ]] && \ |
33 |
- [[ ${x} == "${PORTAGE_BUILDDIR}/"* || |
34 |
- ${x} == ./* || ${x} != /* ]] ; then |
35 |
- ln -snf "${PWD}/${cwd_dest}" "${x%.*}" |
36 |
- fi |
37 |
- ;; |
38 |
- esac |
39 |
fi |
40 |
} |