Skip to content

Commit ca8664b

Browse files
committed
work around resource filelist creation with backslash on windows
1 parent 830189b commit ca8664b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,6 +1693,9 @@ def output_dir(self):
16931693
def archive_prefix(self):
16941694
return mx_subst.path_substitutions.substitute(getattr(self, "prefix", ""))
16951695

1696+
def get_relpath(self, f, outputDir):
1697+
return super().get_relpath(f, outputDir).replace(os.sep, "/")
1698+
16961699
def getResults(self):
16971700
if hasattr(self, "outputFile"):
16981701
return [os.path.join(self.dir, self.outputFile)]

0 commit comments

Comments
 (0)