summaryrefslogtreecommitdiff
path: root/source4/setup/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/upgrade')
-rwxr-xr-xsource4/setup/upgrade4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/setup/upgrade b/source4/setup/upgrade
index 3bcc57ab64..b1d9ffa37c 100755
--- a/source4/setup/upgrade
+++ b/source4/setup/upgrade
@@ -7,6 +7,10 @@
import getopt
import optparse
import os, sys
+
+# Find right directory when running from source tree
+sys.path.insert(0, "bin/python")
+
import param
import samba
import samba.getopt as options