summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-05-04 00:48:18 +0000
committerVlastimil Babka <caster@gentoo.org>2007-05-04 00:48:18 +0000
commit5c62ad3e2d6f9ee40242ea07d769fdac885a5dba (patch)
tree31b63de38488690fd45cba8a9b074d2314ee49f4 /dev-java/sun-jdk
parentStable on IA64, bug 176712. (diff)
downloadgentoo-2-5c62ad3e2d6f9ee40242ea07d769fdac885a5dba.tar.gz
gentoo-2-5c62ad3e2d6f9ee40242ea07d769fdac885a5dba.tar.bz2
gentoo-2-5c62ad3e2d6f9ee40242ea07d769fdac885a5dba.zip
Fix src_unpack() to workaround bash bug triggered by paludis, bug #176979 by Bo Ørsted Andresen <bo.andresen@zlin.dk>.
(Portage version: 2.1.2.5)
Diffstat (limited to 'dev-java/sun-jdk')
-rw-r--r--dev-java/sun-jdk/ChangeLog6
-rw-r--r--dev-java/sun-jdk/sun-jdk-1.4.2.14.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog
index d39878a59ab1..32cde3ed4e0c 100644
--- a/dev-java/sun-jdk/ChangeLog
+++ b/dev-java/sun-jdk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/sun-jdk
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.199 2007/05/02 21:25:08 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.200 2007/05/04 00:48:18 caster Exp $
+
+ 04 May 2007; Vlastimil Babka <caster@gentoo.org> sun-jdk-1.4.2.14.ebuild:
+ Fix src_unpack() to workaround bash bug triggered by paludis, bug #176979 by
+ Bo Ørsted Andresen <bo.andresen@zlin.dk>.
02 May 2007; Vlastimil Babka <caster@gentoo.org> -sun-jdk-1.4.2.13.ebuild,
-sun-jdk-1.4.2.13-r1.ebuild, -sun-jdk-1.4.2.13-r2.ebuild:
diff --git a/dev-java/sun-jdk/sun-jdk-1.4.2.14.ebuild b/dev-java/sun-jdk/sun-jdk-1.4.2.14.ebuild
index 0f8eabe0c131..7b085ca117e5 100644
--- a/dev-java/sun-jdk/sun-jdk-1.4.2.14.ebuild
+++ b/dev-java/sun-jdk/sun-jdk-1.4.2.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.2.14.ebuild,v 1.2 2007/05/02 10:53:24 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.2.14.ebuild,v 1.3 2007/05/04 00:48:18 caster Exp $
JAVA_SUPPORTS_GENERATION_1="true"
inherit pax-utils java-vm-2 eutils
@@ -82,7 +82,7 @@ src_unpack() {
fi
fi
#Search for the ELF Header
- testExp=$'\177\105\114\106\001\001\001'
+ testExp=$(echo -e '\0177\0105\0114\0106\0001\0001\0001')
startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1`
tail -n +${startAt} ${DISTDIR}/${At} > install.sfx
chmod +x install.sfx