diff options
author | Jose <jose@zeroc.com> | 2020-12-10 17:02:27 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2020-12-10 17:02:27 +0100 |
commit | bda65d3ebea958c09dee8a7eb14df0eb3e6d6cf7 (patch) | |
tree | de646a1995ca60a2b2c6d11a90ad23be68dc729a /scripts/IceBoxUtil.py | |
parent | Additional fixes for .NET test scripts (diff) | |
download | ice-bda65d3ebea958c09dee8a7eb14df0eb3e6d6cf7.tar.bz2 ice-bda65d3ebea958c09dee8a7eb14df0eb3e6d6cf7.tar.xz ice-bda65d3ebea958c09dee8a7eb14df0eb3e6d6cf7.zip |
.NET IceBox test script fixes
Diffstat (limited to 'scripts/IceBoxUtil.py')
-rw-r--r-- | scripts/IceBoxUtil.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/IceBoxUtil.py b/scripts/IceBoxUtil.py index de8961a7df9..c541de25472 100644 --- a/scripts/IceBoxUtil.py +++ b/scripts/IceBoxUtil.py @@ -29,9 +29,10 @@ class IceBox(ProcessFromBinDir, Server): with open(newConfigFile, 'w') as target: for line in source.readlines(): if current.config.framework == "net5.0": - target.write(line.replace("\\net45\\", "\\net5.0\\")) + line = line.replace("\\net45\\", "\\net5.0\\") elif current.config.dotnetcore: - target.write(line.replace("\\net45\\", "\\netstandard2.0\\{0}\\".format(libframework))) + line = line.replace("\\net45\\", "\\netstandard2.0\\{0}\\".format(libframework)) + target.write(line) current.files.append(newConfigFile) def getExe(self, current): |