diff options
Diffstat (limited to 'source4/setup/upgrade.py')
-rwxr-xr-x | source4/setup/upgrade.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/setup/upgrade.py b/source4/setup/upgrade.py index 3bcc57ab64..b1d9ffa37c 100755 --- a/source4/setup/upgrade.py +++ b/source4/setup/upgrade.py @@ -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 |