summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-06-19 08:47:06 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-06-22 12:50:34 -0700
commitb6740cf1d1fe847ae0064f7d7a5be1b24dcf4779 (patch)
treebe5b945c09dac0159d5466c832832d42ded5f7fd /bin
parent4608b674e512595f934fe942187847abae950bb4 (diff)
downloadspack-b6740cf1d1fe847ae0064f7d7a5be1b24dcf4779.tar.gz
spack-b6740cf1d1fe847ae0064f7d7a5be1b24dcf4779.tar.bz2
spack-b6740cf1d1fe847ae0064f7d7a5be1b24dcf4779.tar.xz
spack-b6740cf1d1fe847ae0064f7d7a5be1b24dcf4779.zip
Make debug and verbose output work properly.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/spack b/bin/spack
index fef793a6ce..df517c1f1d 100755
--- a/bin/spack
+++ b/bin/spack
@@ -77,8 +77,10 @@ for cmd in spack.cmd.commands:
args = parser.parse_args()
# Set up environment based on args.
-spack.verbose = args.verbose
+tty.set_verbose(args.verbose)
+tty.set_debug(args.debug)
spack.debug = args.debug
+
spack.spack_working_dir = working_dir
if args.mock:
from spack.packages import PackageDB