bgen-generators now drop the python definition file straight in the
Lib:toolbox folder.
diff --git a/Mac/Modules/cm/cmscan.py b/Mac/Modules/cm/cmscan.py
index d568a73..95abeed 100644
--- a/Mac/Modules/cm/cmscan.py
+++ b/Mac/Modules/cm/cmscan.py
@@ -3,6 +3,7 @@
import addpack
addpack.addpack(':tools:bgen:bgen')
from scantools import Scanner
+from bgenlocations import TOOLBOXDIR
LONG = "Components"
SHORT = "Cm"
@@ -10,7 +11,7 @@
def main():
input = "Components.h"
output = SHORT + "gen.py"
- defsoutput = LONG + ".py"
+ defsoutput = TOOLBOXDIR + LONG + ".py"
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()