diff options
Diffstat (limited to 'Mac/Modules/menu/menuscan.py')
-rw-r--r-- | Mac/Modules/menu/menuscan.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Modules/menu/menuscan.py b/Mac/Modules/menu/menuscan.py index cf00dcc..37ced2f 100644 --- a/Mac/Modules/menu/menuscan.py +++ b/Mac/Modules/menu/menuscan.py @@ -1,6 +1,8 @@ # Scan <Menus.h>, generating menugen.py. -import addpack -addpack.addpack(':Tools:bgen:bgen') +import sys +import os +BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen') +sys.path.append(BGENDIR) from scantools import Scanner from bgenlocations import TOOLBOXDIR |