Commit 7e01457c authored by Legodev's avatar Legodev

hack to get files with whitespace working

parent a692f718
......@@ -5,4 +5,4 @@ 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) {}'.format(addon, sourceAddonPath, ' '.join(dependencies))
\ No newline at end of file
return '${{DESTINATIONPATH}}/{}.pbo: $(shell find "{}" -type f | xargs -E \'\' printf \'"%s" \') {}'.format(addon, sourceAddonPath, ' '.join(dependencies))
\ No newline at end of file
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