summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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