Danny Rubio <[EMAIL PROTECTED]> said: > a 'declare -f' during a normal bash session reveals append_path and > prepend_path as defined, some investigation revealed to me that they > are used by /sw/bin/init.sh to prepare the environment for installed > fink software. my issue is that i would like to have a clean > environment. is it safe to append commands to the end of init.sh to > dedeclare these functions. what are those commands btw :)
They append and prepend a given path to a given env variable if the given path is not already present there (look in init.sh to see exactly how they're used). I know some fink packages install scripts that are run by init.sh that use those functions (unaffected by your idea); I don't know if any use those functions outside of that scope (in their own /sw/bin/* or other internal scripts). Maybe safest to experiment with your .profile (after init.sh is loaded) instead of the global init.sh file...that way fink things that explicitly load fink's init.sh still get it, and at worst you only break things run from your command-line. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
