Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 297d7dd

Browse files
committed
Keep the folder structure in Mac:mwerks:projects similar to the
toplevel build folder structure.
1 parent 612db8f commit 297d7dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Mac/scripts/binhextree.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def copycwproject(path, name):
117117
print dstdir
118118
print 'No CW-project dir, skip', name
119119
return
120-
dstfile = os.path.join(dstdir, name)
120+
dstfile = os.path.join(dstdir, os.path.join(srcdir, name))
121121
else:
122122
if path[-2:] != '.µ':
123123
return
@@ -155,7 +155,7 @@ def copycwexpfile(path, name):
155155
print dstdir
156156
print 'No CW-project dir, skip', name
157157
return
158-
dstfile = os.path.join(dstdir, name)
158+
dstfile = os.path.join(dstdir, os.path.join(srcdir, name))
159159
else:
160160
if path[-6:] != '.µ.exp':
161161
return

0 commit comments

Comments
 (0)