diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/repo.py b/lib/spack/spack/repo.py index 01f934615e..db10f25bf7 100644 --- a/lib/spack/spack/repo.py +++ b/lib/spack/spack/repo.py @@ -720,7 +720,7 @@ class Repo(object): self.packages_path = os.path.join(self.root, packages_dir_name) check(os.path.isdir(self.packages_path), - "No directory '%s' found in '%s'" % (repo_config_name, root)) + "No directory '%s' found in '%s'" % (packages_dir_name, root)) # Read configuration and validate namespace config = self._read_config() |