test-eval-release: handle ENV{VERBOSE}.

See test-eval-release.sh for details.

svn path=/nixpkgs/trunk/; revision=31824
This commit is contained in:
Yury G. Kudryashov
2012-01-24 19:10:54 +00:00
parent c7dc7f5e87
commit 954c8cdac1
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
#! /bin/sh
if [[ -z "$VERBOSE" ]]; then
echo "You may set VERBOSE=1 to see debug output or to any other non-empty string to make this script completely silent"
fi
nix-instantiate --strict --eval-only --xml --show-trace "$(dirname "$0")"/eval-release.nix 2>&1 > /dev/null