Keep the folder structure in Mac:mwerks:projects similar to the
toplevel build folder structure.
diff --git a/Mac/scripts/binhextree.py b/Mac/scripts/binhextree.py
index b39cac9..b354e4a 100644
--- a/Mac/scripts/binhextree.py
+++ b/Mac/scripts/binhextree.py
@@ -117,7 +117,7 @@
print dstdir
print 'No CW-project dir, skip', name
return
- dstfile = os.path.join(dstdir, name)
+ dstfile = os.path.join(dstdir, os.path.join(srcdir, name))
else:
if path[-2:] != '.µ':
return
@@ -155,7 +155,7 @@
print dstdir
print 'No CW-project dir, skip', name
return
- dstfile = os.path.join(dstdir, name)
+ dstfile = os.path.join(dstdir, os.path.join(srcdir, name))
else:
if path[-6:] != '.µ.exp':
return