Gentoo Archives: gentoo-devhelp

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] Trouble with package.env files
Date: Mon, 28 May 2012 16:25:41
Message-Id: 4FC3A6EF.4070000@orlitzky.com
In Reply to: [gentoo-devhelp] Trouble with package.env files by Nikos Chantziaras
On 05/27/2012 04:21 PM, Nikos Chantziaras wrote:
> I have this in /etc/portage/package.env: > > app-emulation/emul-linux-x86-soundlibs soundlibs-delete-jack.conf > > and this in /etc/portage/env/soundlibs-delete-jack.conf: > > if [ "${EBUILD_PHASE}" == "src_prepare"] ; > then > rm -rf "${S}"/usr/lib32/jack > rm -f $(find "${S}" -name 'libjack*') > fi >
You already figured out how to get it working, but for posterity, this is a stupid shell relic: if [ 1 == 1 ]; then # Works fi if [ 1 == 1]; then # Crashes fi