summaryrefslogtreecommitdiff
path: root/cpp/newmakebindist.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/newmakebindist.py')
-rwxr-xr-xcpp/newmakebindist.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/newmakebindist.py b/cpp/newmakebindist.py
index f1ca26bd5ec..18135fa789f 100755
--- a/cpp/newmakebindist.py
+++ b/cpp/newmakebindist.py
@@ -253,7 +253,10 @@ def makeInstall(buildDir, installDir, distro, clean):
os.chdir(cwd)
return
- os.system("perl -pi -e 's/^prefix.*$/prefix = \$\(INSTALL_ROOT\)/' config/Make.rules")
+ if distro.startswith("IceCS"):
+ os.system("perl -pi -e 's/^prefix.*$/prefix = \$\(INSTALL_ROOT\)/' config/Make.rules.cs")
+ else:
+ os.system("perl -pi -e 's/^prefix.*$/prefix = \$\(INSTALL_ROOT\)/' config/Make.rules")
if distro.startswith("IcePy"):
try: