Re: Environment variables ignored in shells forked within a su sh ell

From: Paul LaMadeleine (plamadeleine@LIGHTBRIDGE.COM)
Date: Wed Feb 26 2003 - 09:19:39 EST


On a related note, for ksh and bash anyway, you can add a "set -a" at the
beginning of the 'alternate_profile' file and a "set +a" at the bottom and
all variable set between the sets will be exported automatically.

         Paul

At 08:11 AM 2/26/2003 -0600, you wrote:
>No - within your main script just call the ". alternate_profile". Be sure
>all variables are exported.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:37 EDT