Commit b6e833e0 authored by Legodev's avatar Legodev

for pboproject the shell must be the cmd

parent d9c63a12
......@@ -44,6 +44,7 @@ if createMakefile:
print('PROJECTPATH={}'.format(projectPath), file=f)
print('KEYPATH={}'.format(keypath), file=f)
print('INCLUDELIST={}'.format(projectPath / "includes.txt"), file=f)
print('SHELL=cmd.exe', file=f)
print(createmakefilealldependencies(destinationpath, addonlist), file=f)
for addon in addonlist:
......
......@@ -4,7 +4,7 @@ def createmakefilealldependencies(destinationpath, addonlist):
def createaddonmakefiledependencies(addon, sourceAddonPath, destinationpath, dependencies):
# dependencies = ["${{DESTINATIONPATH}}/{}.pbo".format(dependency) for dependency in dependencies]
return '${{DESTINATIONPATH}}/{}.pbo: $(shell find "{}" -type f | sed \'s/ /\\\\\\\\ /g\') {}'.format(addon, sourceAddonPath, ' '.join(dependencies))
return '${{DESTINATIONPATH}}/{}.pbo: $(sh find "{}" -type f | sed \'s/ /\\\\\\\\ /g\') {}'.format(addon, sourceAddonPath, ' '.join(dependencies))
def createaddonmakefiledependenciesrefs(addon, destinationpath, branch):
# dependencies = ["${{DESTINATIONPATH}}/{}.pbo".format(dependency) for dependency in dependencies]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment