summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/spack b/bin/spack
index a0ce203d63..c63178b191 100755
--- a/bin/spack
+++ b/bin/spack
@@ -44,6 +44,7 @@ try:
working_dir = os.getcwd()
except OSError:
os.chdir(SPACK_PREFIX)
+ working_dir = SPACK_PREFIX
# clean up the scope and start using spack package instead.
del SPACK_FILE, SPACK_PREFIX, SPACK_LIB_PATH