summaryrefslogtreecommitdiff
path: root/scripts/TestUtil.py
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-09-28 15:20:59 -0400
committerJoe George <joe@zeroc.com>2016-09-28 15:21:27 -0400
commit66cfe95b99467416ce9d1d862e5ce39eafea1356 (patch)
tree68e3bf4c632d51a19ccad1eed419b18ad9229d91 /scripts/TestUtil.py
parentPHP 7 in 3.6.3 (diff)
downloadice-66cfe95b99467416ce9d1d862e5ce39eafea1356.tar.bz2
ice-66cfe95b99467416ce9d1d862e5ce39eafea1356.tar.xz
ice-66cfe95b99467416ce9d1d862e5ce39eafea1356.zip
Additional fix for ICE-7386
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-xscripts/TestUtil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py
index be511edb9f2..831bc389b8f 100755
--- a/scripts/TestUtil.py
+++ b/scripts/TestUtil.py
@@ -752,7 +752,8 @@ def phpFlags():
else:
ext += ".so"
if not iceHome:
- extDir = os.path.abspath(os.path.join(toplevel, "php", "lib"))
+ phpDir = lambda langDir: langDir if "php" in langDir else "php"
+ extDir = os.path.abspath(os.path.join(toplevel, phpDir(getDefaultMappingDir()), "lib"))
incDir = extDir
else:
#