diff options
Diffstat (limited to 'scripts/TestUtil.py')
-rwxr-xr-x | scripts/TestUtil.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/TestUtil.py b/scripts/TestUtil.py index 6f68bcca00c..6f90c0bca94 100755 --- a/scripts/TestUtil.py +++ b/scripts/TestUtil.py @@ -1984,10 +1984,10 @@ def getTestEnv(lang, testdir): addClasspath(os.path.join(pkgdir, "berkeley.db.java7", "build", "native", "lib", "db.jar"), env) elif isDarwin(): - if os.path.exists('/usr/local/opt/ice/libexec/lib'): + if os.path.exists('/usr/local/opt/berkeley-db53/lib'): + addClasspath(os.path.join("/", "usr", "local", "opt", "berkeley-db53", "lib", "db.jar"), env) + elif: os.path.exists('/usr/local/opt/ice/libexec/lib'): addClasspath(os.path.join("/", "usr", "local", "opt", "ice", "libexec", "lib", "db.jar"), env) - else: - addClasspath(os.path.join("/", "usr", "local", "opt", "berkeley-db53", "db.jar"), env) else: addClasspath(os.path.join("/", "usr", "share", "java", "db.jar"), env) |