Mailing List Archive

Re: [gentoo-commits] gentoo-x86 commit in dev-java/sun-jre-bin: ChangeLog sun-jre-bin-1.6.0.03.ebuild sun-jre-bin-1.5.0.13.ebuild
On 13:19 Thu 04 Oct , Petteri Raty (betelgeuse) wrote:
> 1.1 dev-java/sun-jre-bin/sun-jre-bin-1.6.0.03.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.03.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.03.ebuild?rev=1.1&content-type=text/plain

> # install control panel for Gnome/KDE
> if [[ -e "${D}/opt/${P}/plugin/desktop/sun_java.desktop" ]]; then
> sed -e "s/\(Name=Java\)/\1 Control Panel for Sun JRE ${SLOT}/" \
> -e "s#Exec=.*#Exec=/opt/${P}/bin/ControlPanel#" \
> -e "s#Icon=.*#Icon=/opt/${P}/plugin/desktop/sun_java.png#" \
> ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
> ${T}/sun_jre-${SLOT}.desktop || die
> domenu ${T}/sun_jre-${SLOT}.desktop || die

Quote variables that can have spaces in them: D, S, T, WORKDIR,
FILESDIR, DESTDIR, ROOT.

Thanks,
Donnie
--
gentoo-dev@gentoo.org mailing list