From 2e83cdfd247fdf0c648791217334db11699683dc Mon Sep 17 00:00:00 2001 From: matth-x <63792403+matth-x@users.noreply.github.com> Date: Sun, 22 Oct 2023 21:47:48 +0200 Subject: [PATCH] patch dir separator on Windows (#708) --- scripts/extra_script.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/extra_script.py b/scripts/extra_script.py index 486a8d71..f86f6d83 100644 --- a/scripts/extra_script.py +++ b/scripts/extra_script.py @@ -120,6 +120,7 @@ def make_static(env, target, source): for out_file in out_files: filetype = None compress = out_file.endswith(".gz") + out_file = out_file.replace("\\","/") # Windows: out_file generated with \ as directory separator if out_file.endswith(".css") or out_file.endswith(".css.gz"): filetype = "CSS" elif out_file.endswith(".js") or out_file.endswith(".js.gz"):