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.
for envVar in $(env | sed "s/^[^a-z].*//" | sed "s/^\([^=]*\)=.*/\1/"); do
echo "$envVar -> ${!envVar}"
if test "$NIX_DEBUG" = "1"; then
echo "$envVar -> ${!envVar}"
fi
args="$args --subst-var $envVar"
done