summaryrefslogtreecommitdiff
path: root/source4/scripting/python/modules.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-28 16:39:03 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-28 16:39:03 +1100
commitc16cd19bda30e6dc7be0540c4c70cbcaf3c7fe67 (patch)
tree8efaf6b885543a006a91294923324fc580d01bbf /source4/scripting/python/modules.c
parent11061499e182b9c41ec793d4eefb8a2cf7c88bfe (diff)
parentcab677a33f0376cd1bf96ec561dc0463bbf80edd (diff)
downloadsamba-c16cd19bda30e6dc7be0540c4c70cbcaf3c7fe67.tar.gz
samba-c16cd19bda30e6dc7be0540c4c70cbcaf3c7fe67.tar.bz2
samba-c16cd19bda30e6dc7be0540c4c70cbcaf3c7fe67.zip
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit f0a4db22e58d393be5b28f767ee6d0abfc8f11dc)
Diffstat (limited to 'source4/scripting/python/modules.c')
-rw-r--r--source4/scripting/python/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/modules.c b/source4/scripting/python/modules.c
index fff981e941..2ecad20b8e 100644
--- a/source4/scripting/python/modules.c
+++ b/source4/scripting/python/modules.c
@@ -62,7 +62,7 @@ void py_load_samba_modules(void)
void py_update_path(const char *bindir)
{
char *newpath;
- asprintf(&newpath, "%s:%s/python:%s/../scripting/python", Py_GetPath(), bindir, bindir);
+ asprintf(&newpath, "%s/python:%s/../scripting/python:%s", bindir, bindir, Py_GetPath());
PySys_SetPath(newpath);
free(newpath);
}