diff options
author | Jose <pepone@users.noreply.github.com> | 2023-10-12 17:15:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 17:15:19 +0200 |
commit | f26ad530202005cec757515b0c5182ad69c945db (patch) | |
tree | a6a6e0f1a72505b2ed1d92ee7f92e73f55ecd997 /scripts/IceBoxUtil.py | |
parent | Fix Python install warnings (#1545) (diff) | |
download | ice-f26ad530202005cec757515b0c5182ad69c945db.tar.bz2 ice-f26ad530202005cec757515b0c5182ad69c945db.tar.xz ice-f26ad530202005cec757515b0c5182ad69c945db.zip |
Fix DLL's path generated by IceBox script (#1552)
Diffstat (limited to 'scripts/IceBoxUtil.py')
-rw-r--r-- | scripts/IceBoxUtil.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/IceBoxUtil.py b/scripts/IceBoxUtil.py index f3f64204182..bd6b9a3fd44 100644 --- a/scripts/IceBoxUtil.py +++ b/scripts/IceBoxUtil.py @@ -16,7 +16,7 @@ class IceBox(ProcessFromBinDir, Server): mapping = self.getMapping(current) # - # If running IceBox tests with non default framweork we need to generate a custom config + # If running IceBox tests with non default framework we need to generate a custom config # file. # if self.configFile: @@ -29,6 +29,8 @@ class IceBox(ProcessFromBinDir, Server): with open(newConfigFile, 'w') as target: for line in source.readlines(): line = line.replace("\\net45\\", "\\netstandard2.0\\{0}\\".format(libframework)) + if "\\" != os.sep: + line = line.replace("\\", os.sep) target.write(line) current.files.append(newConfigFile) |