spack edit fixed.
This commit is contained in:
		@@ -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.")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user