.bash_profile in Applescript

Hi

In my .bash_profile I have defined a few paths (e.g. PMODS=/Volumes/D99/modules). In a normal Applescript I can get that path (set p to (do shell script “echo $PMODS”)).

When I make an .app out of that Applescript, I get just nothing.

What do I miss? Is it a bug?

Any hint or tip is welcome.

Thanks in advance and regards.

Lazy

This page might help. Note that the environment.plist method mentioned has been deprecated.

… but I’m talking of .bash_profile - which is something different