spack edit fixed.
This commit is contained in:
parent
7267734a5b
commit
db32769347
2 changed files with 1 additions and 7 deletions
|
@ -17,7 +17,7 @@ def edit(parser, args):
|
|||
if not name:
|
||||
path = spack.packages_path
|
||||
else:
|
||||
path = packages.filename_for(name)
|
||||
path = packages.filename_for_package_name(name)
|
||||
|
||||
if os.path.exists(path):
|
||||
if not os.path.isfile(path):
|
||||
|
|
|
@ -49,9 +49,3 @@ def install(self, prefix):
|
|||
install('dwarfdump', bin)
|
||||
install('dwarfdump.conf', lib)
|
||||
install('dwarfdump.1', man1)
|
||||
|
||||
|
||||
# @platform('macosx_10.8_x86_64')
|
||||
# def install(self, prefix):
|
||||
# raise UnsupportedPlatformError(
|
||||
# "libdwarf doesn't currently build on Mac OS X.")
|
||||
|
|
Loading…
Reference in a new issue