View Single Post
Old 17th May 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
If I leave them set in the .profile then I will need to unset them every time I build ports as well as every time I build userland...
My practice is to use shell scripts for build steps. Environment variables exported within a script are useable only within the script and its children, so I set DESTDIR and RELEASEDIR values within my personal "build-release" and "build-xrelease" scripts, and never need to unset them.
Reply With Quote