racket packages: fix typo after multiple build systems support (#40088)

This commit is contained in:
Thomas Dickerson
2023-10-09 08:21:13 -04:00
committed by GitHub
parent 3108036533
commit c0f1072dc7
3 changed files with 22 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ class RacketBuilder(spack.builder.Builder):
@property
def subdirectory(self):
if self.racket_name:
if self.pkg.racket_name:
return "pkgs/{0}".format(self.pkg.racket_name)
return None