Setting default values for environment variables
Hi! I'm looking for the best way to mimic on MacOS X a Linux handy feature for setting the default values (system-wide, for all users) for environment variables. In Linux, I need just to create *.sh and *.csh files with the environment variable definition on the /etc/ profile.d/ directory. I need similar functionality for a postflight script for a MacPorts package (or for the post-destroot phase). Your suggestions are most welcome. Cheers, Paulo ----------------------------------------------------------------- Paulo Jorge Lopes de Moura Dep. of Computer Science, University of Beira Interior 6201-001 Covilhã, Portugal Office 4.3 Ext. 3257 Phone: +351 275319891 Fax: +351 275319899 Email: <mailto:pmoura@di.ubi.pt> Home page: <http://www.di.ubi.pt/~pmoura> Research: <http://logtalk.org/> -----------------------------------------------------------------
participants (1)
-
Paulo Moura