summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-06-06 18:17:59 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-06-06 18:17:59 -0700
commit50d7b3df2bb9ef3ce36262cec77595ee7704c301 (patch)
treeecf44cdf303c1efd92c1f9113d81f991622d6b1a /bin
parent8215c85619ccb405d809b0dbc1127685d68210c9 (diff)
parentc43b5d670bf45ed6346db7d498b537ff70c7dbb0 (diff)
downloadspack-50d7b3df2bb9ef3ce36262cec77595ee7704c301.tar.gz
spack-50d7b3df2bb9ef3ce36262cec77595ee7704c301.tar.bz2
spack-50d7b3df2bb9ef3ce36262cec77595ee7704c301.tar.xz
spack-50d7b3df2bb9ef3ce36262cec77595ee7704c301.zip
Merge branch 'psaravan-fastmath' into features/fastmath
Conflicts: var/spack/packages/lapack/package.py
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack9
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/spack b/bin/spack
index 354754594e..5c042edd2d 100755
--- a/bin/spack
+++ b/bin/spack
@@ -126,14 +126,7 @@ def main():
try:
return_val = command(parser, args)
except SpackError, e:
- if spack.debug:
- # In debug mode, raise with a full stack trace.
- raise
- elif e.long_message:
- tty.die(e.message, e.long_message)
- else:
- tty.die(e.message)
-
+ e.die()
except KeyboardInterrupt:
sys.stderr.write('\n')
tty.die("Keyboard interrupt.")