summaryrefslogtreecommitdiff
path: root/scripts/IceBoxUtil.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2020-12-10 17:02:27 +0100
committerJose <jose@zeroc.com>2020-12-10 17:02:27 +0100
commitbda65d3ebea958c09dee8a7eb14df0eb3e6d6cf7 (patch)
treede646a1995ca60a2b2c6d11a90ad23be68dc729a /scripts/IceBoxUtil.py
parentAdditional fixes for .NET test scripts (diff)
downloadice-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.py5
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):