Skip to content

Commit

Permalink
Fix paths on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP committed Aug 6, 2024
1 parent 6a85e6f commit 67f69fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/compile_shader.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def main():
print(f"fixup depfile {depfile_path}")
with open(depfile_path, "r") as f:
depfile = f.read()
depfile = re.sub("^(.*):(?!\\\\)", args.implementation_path.name + ":", depfile)
depfile = re.sub("^(.*):(?![\\\\/])", args.implementation_path.name + ":", depfile)
with open(depfile_path, "w") as f:
f.write(depfile)

Expand Down

0 comments on commit 67f69fc

Please sign in to comment.