summaryrefslogtreecommitdiff
path: root/py/python/Ice.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r--py/python/Ice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py
index 9c7924bbee3..89735152181 100644
--- a/py/python/Ice.py
+++ b/py/python/Ice.py
@@ -147,13 +147,13 @@ def getSliceDir():
#
# Check the default RPM location.
#
- dir = os.path.join("usr", "share", "Ice-" + iceVer, "slice")
+ dir = os.path.join("/", "usr", "share", "Ice-" + iceVer, "slice")
if os.path.exists(dir):
return dir
#
# Check in /opt.
#
- dir = os.path.join("opt", "Ice-" + iceVer, "slice")
+ dir = os.path.join("/", "opt", "Ice-" + iceVer, "slice")
if os.path.exists(dir):
return dir