diff options
author | Andreas Schneider <asn@samba.org> | 2014-02-21 14:23:00 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-02-21 15:59:28 +0100 |
commit | 153dfc514c5885e52f11852b25dd018fc1160067 (patch) | |
tree | 12ebf6acdea29f44b3651e580bb84803adb8bacf /selftest | |
parent | d871a31e61e1e0156644cc19cd636452ccbbe20b (diff) | |
download | samba-153dfc514c5885e52f11852b25dd018fc1160067.tar.gz samba-153dfc514c5885e52f11852b25dd018fc1160067.tar.xz samba-153dfc514c5885e52f11852b25dd018fc1160067.zip |
selftest: Use the absolute path to the ldb modules.
This fixes 'make test' on Fedora with external ldb.
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/wscript b/selftest/wscript index 3c5457f9610..ad77e9105b9 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -179,7 +179,7 @@ def cmd_testonly(opt): # if we are using a system version of ldb then we need to tell it to # load modules from our modules path if env.USING_SYSTEM_LDB: - os.environ['LDB_MODULES_PATH'] = 'bin/modules/ldb' + os.environ['LDB_MODULES_PATH'] = os.path.abspath(os.path.join(env.cwd, 'bin/modules/ldb')) # tell build system where to find config.h os.environ['CONFIG_H'] = 'bin/default/include/config.h' |