diff --git a/Mac/Modules/waste/wastescan.py b/Mac/Modules/waste/wastescan.py index bb186aa8082..1d7bdcb1eae 100644 --- a/Mac/Modules/waste/wastescan.py +++ b/Mac/Modules/waste/wastescan.py @@ -19,7 +19,7 @@ OBJECT2 = "WEObjectReference" def main(): input = WASTEDIR + "WASTE.h" output = SHORT + "gen.py" - defsoutput = TOOLBOXDIR + "WASTEconst.py" + defsoutput = os.path.join(os.path.split(TOOLBOXDIR)[0], "WASTEconst.py") scanner = MyScanner(input, output, defsoutput) scanner.scan() ## scanner.gentypetest(SHORT+"typetest.py")