summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/environment/environment.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/environment/environment.py b/lib/spack/spack/environment/environment.py
index a3e35a234a..a2f37c9e1b 100644
--- a/lib/spack/spack/environment/environment.py
+++ b/lib/spack/spack/environment/environment.py
@@ -520,7 +520,8 @@ class ViewDescriptor(object):
return
# construct view at new_root
- tty.msg("Updating view at {0}".format(self.root))
+ if specs:
+ tty.msg("Updating view at {0}".format(self.root))
view = self.view(new=new_root)
fs.mkdirp(new_root)