summaryrefslogtreecommitdiff
path: root/source4/setup/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/upgrade')
-rwxr-xr-xsource4/setup/upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/setup/upgrade b/source4/setup/upgrade
index 9d73093434..9c1a0cfce8 100755
--- a/source4/setup/upgrade
+++ b/source4/setup/upgrade
@@ -71,7 +71,7 @@ message("Provisioning\n")
setup_dir = opts.setupdir
if setup_dir is None:
- setup_dir = "setup"
+ setup_dir = os.path.dirname(__file__)
lp = sambaopts.get_loadparm()
smbconf = lp.configfile