Re: example implementation (was: Re: DRAFT: Fixing the architecture query options of dpkg.
On Mon, Jan 11, 1999 at 11:57:02AM +0000, Jules Bean wrote:
>
> One approach which will work is
>
> env `sh output` sh trial
>
> However, an approach more consistent with the general design of
> enviornment variables would be something like this:
>
> dpkg-env <env-options go here> debian/rules binary
>
> Either explicitly, or called implicitly within dpkg-buildpackage.
>
> The idea is that dpkg-env sets the enviroment vars correctly and executes
> the program debian/rules in that environment, without attempting to mess
> with the enclosing environment.
I tried to implement this but failed somehow. Could somebody give a small
example how to do it in perl?
task: Set a environment variable and run a program which options are in an
array in this environment.
Marcus
--
"Rhubarb is no Egyptian god." Debian GNU/Linux finger brinkmd@
Marcus Brinkmann http://www.debian.org master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de for public PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09
Reply to: