diff options
author | Tristan Carel <tristan.carel@gmail.com> | 2019-04-03 02:05:57 +0200 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-04-02 17:05:57 -0700 |
commit | 4793242158b8b660b973d531d27e76321159bf51 (patch) | |
tree | ce9579e1054e7a3c418d60d007c934d7ed71f37e /lib/spack | |
parent | 229ed5c22861c4a5ccd8d7b09db9e005bb9f9c59 (diff) | |
download | spack-4793242158b8b660b973d531d27e76321159bf51.tar.gz spack-4793242158b8b660b973d531d27e76321159bf51.tar.bz2 spack-4793242158b8b660b973d531d27e76321159bf51.tar.xz spack-4793242158b8b660b973d531d27e76321159bf51.zip |
spack repo add: fix error message when `packages' directory is missing (#11031)
Diffstat (limited to 'lib/spack')
-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() |