check for configure also in $SOURCE_DIRECTORY

Stefan Wold ratler at
Sat Dec 15 16:51:19 CET 2007

On Sat, 2007-12-15 at 15:59 +0100, Christian Riggenbach wrote:
> hi
> how about to check for the script "configure" also in the $SOURCE_DIRECTORY 
> instead only in the currect directory?
> There are a lot of modules which compile in a specialy created directory (like 
> obj* of gcc, binutils...). the BUILD-script of these modules could be much 
> simpler with this additional check.
> i created a patch for build.lunar, it is attached


If you check the build.lunar file you will actually see that before
_configure is called run_build is executed that actually does "cd
$SOURCE_DIRECTORY" thus the current dir will already be in
$SOURCE_DIRECTORY. So your patch won't do a lot unless someone
intentionally does a "cd dir" in their BUILD file. But most people that
does that usually does a "cd $SOURCE_DIRECTORY" when done to restore the
current working directory. 

Sofar please correct me if I'm wrong.

Stefan Wold
Lunar Linux developer - PGP public key 6E810F05
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the Lunar mailing list