[Scons-users] How to initialize current environment in scons

Dirk Bächle tshortik at gmx.de
Mon Mar 24 13:00:15 EDT 2014


Hi,

On 24.03.2014 14:33, ArulJothi wrote:

> I have a following requirement where i need to run db2profile before i

> execute some commands to create a target

>

> I used to do that as follows in ksh shell script

>

> . $DB2SQLLIB/db2profile #leading dot "." initialized shell with

> evironment from db2profile

> <commands>

> ....

> ...

> ...

>

> How do i accomplish the same in Scons.

>


I would simply call the original ksh script as my command.

Just my 2 cents.

Best regards,

Dirk



More information about the Scons-users mailing list