third argument support for envs in compile

This commit is contained in:
Kenneth Reitz
2013-12-13 15:48:39 -08:00
parent 2a083791b6
commit 206a2dbc04
4 changed files with 10 additions and 7 deletions
+3 -1
View File
@@ -59,4 +59,6 @@ function deep-rm (){
find -H $1 -maxdepth 1 -name '.*' -a \( -type d -o -type f -o -type l \) -exec rm -fr '{}' \;
}
function sub-env (){
(export $(egrep -v '^(GIT_DIR|PYTHONHOME|PYTHONPATH|LD_LIBRARY_PATH|LIBRARY_PATH|PATH)' $ENV_FILE); $1)
}