diff options
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index ff62b0ed2e2..846d9975ce6 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -750,10 +750,8 @@ def getSliceDir(): # global iceHome if iceHome: - if isDarwin() and iceHome == "/usr/local": - return "/usr/local/share/slice" - elif isLinux() and iceHome == "/usr": - return "/usr/share/Ice-" + iceVersion + "/slice" + if iceHome == "/usr/local" or iceHome == "/usr": + return os.path.join(iceHome, "ice", "slice") else: return os.path.join(iceHome, "slice") else: |