Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 31291
Collapse All | Expand All

(-)/usr/portage/dev-java/sun-jdk/sun-jdk-1.4.2.02.ebuild (-2 / +2 lines)
Lines 43-50 Link Here
43
		eerror "cannot read ${At}. Please check the permission and try again."
43
		eerror "cannot read ${At}. Please check the permission and try again."
44
		die
44
		die
45
	fi
45
	fi
46
	testExp=`echo -e "\0177\0105\0114\0106\0001\0001\0001"`
46
	testExp=`echo -e "\177\105\114\106\001\001\001"`
47
	startAt=`grep -aonm 1 ${testExp}  ${DISTDIR}/${At} | cut -d: -f1`
47
	startAt=`grep -aonm 1 "${testExp}"  ${DISTDIR}/${At} | cut -d: -f1`
48
	tail -n +${startAt} ${DISTDIR}/${At} > install.sfx
48
	tail -n +${startAt} ${DISTDIR}/${At} > install.sfx
49
	chmod +x install.sfx
49
	chmod +x install.sfx
50
	./install.sfx || die
50
	./install.sfx || die

Return to bug 31291