summaryrefslogtreecommitdiff
path: root/source4/setup/provision-backend
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/provision-backend')
-rwxr-xr-xsource4/setup/provision-backend2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/setup/provision-backend b/source4/setup/provision-backend
index 756870d5df..e4e2d56020 100755
--- a/source4/setup/provision-backend
+++ b/source4/setup/provision-backend
@@ -94,7 +94,7 @@ else:
setup_dir = opts.setupdir
if setup_dir is None:
- setup_dir = "setup"
+ setup_dir = os.path.dirname(__file__)
provision_backend(setup_dir=setup_dir, message=message, smbconf=smbconf, targetdir=opts.targetdir,
realm=opts.realm, domain=opts.domain,