--- /usr/portage/dev-java/sun-jdk/sun-jdk-1.4.2.08.ebuild 2005-04-22 09:05:27.000000000 -0500 +++ sun-jdk-1.4.2.08.ebuild 2005-04-23 11:12:53.000000000 -0500 @@ -67,7 +67,8 @@ fi #Search for the ELF Header testExp=`echo -e "\177\105\114\106\001\001\001"` - startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1` + grep -aonm 1 ${testExp} ${DISTDIR}/${At} > /tmp/javatmp + startAt=`cut -d: -f1 /tmp/javatmp` tail -n +${startAt} ${DISTDIR}/${At} > install.sfx chmod +x install.sfx ./install.sfx || die