svn path=/nixpkgs/trunk/; revision=7315
This commit is contained in:
Eelco Dolstra 2006-12-11 15:46:54 +00:00
parent e09f8061b7
commit e002f96a56

View File

@ -230,7 +230,9 @@ substituteAll() {
# Select all environment variables that start with a lowercase character. # Select all environment variables that start with a lowercase character.
for envVar in $(env | sed "s/^[^a-z].*//" | sed "s/^\([^=]*\)=.*/\1/"); do for envVar in $(env | sed "s/^[^a-z].*//" | sed "s/^\([^=]*\)=.*/\1/"); do
if test "$NIX_DEBUG" = "1"; then
echo "$envVar -> ${!envVar}" echo "$envVar -> ${!envVar}"
fi
args="$args --subst-var $envVar" args="$args --subst-var $envVar"
done done