summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-23 12:40:45 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-23 12:40:45 +0200
commitd9109c5342b19ec2cf811f9a61e9e2167e7ca3e4 (patch)
treed0e683f19baff117b44eb19313b441c171f0c51d /source4/selftest
parent4b701a265fa99f5490382168d369e8a9d994ed35 (diff)
downloadsamba-d9109c5342b19ec2cf811f9a61e9e2167e7ca3e4.tar.gz
samba-d9109c5342b19ec2cf811f9a61e9e2167e7ca3e4.tar.bz2
samba-d9109c5342b19ec2cf811f9a61e9e2167e7ca3e4.zip
Self PYTHONPATH from selftest.
(This used to be commit f7e350368b40f575b312d4e0045981d9b1dcadfe)
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/selftest.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl
index 385d31bbfd..3270364a91 100755
--- a/source4/selftest/selftest.pl
+++ b/source4/selftest/selftest.pl
@@ -414,6 +414,7 @@ if (defined($ENV{PKG_CONFIG_PATH})) {
}
# Required for smbscript:
$ENV{PATH} = "$old_pwd/bin:$old_pwd:$ENV{PATH}";
+$ENV{PYTHONPATH} = "$builddir/bin/python:$ENV{PYTHONPATH}";
if ($opt_socket_wrapper_keep_pcap) {
# Socket wrapper keep pcap implies socket wrapper pcap