[etoys-dev] Re: Etoys-to-go goes AWOL?

K. K. Subramaniam subbukk at gmail.com
Tue Aug 11 21:02:25 EDT 2009


On Tuesday 11 Aug 2009 9:06:44 pm Bert Freudenberg wrote:
> But the var expansion magic is unnecessarily clever IMHO, less  
> readable than being explicit.
I didn't mean to use any special magic. The idiom
 : ${SQUEAK_USERDIR:=$HOME/.etoys}
dates back to original Bourne shell and is portable across all shells. See sh 
man page for "assign default values". Anyway, I will leave it to you.

> Besides, written like this, the  
> variables would not be exported to the environment.
Nice catch!
$ export SQUEAK_USERDIR SQUEAK_SECUREDIR

Subbu


More information about the etoys-dev mailing list