diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-01-21 14:26:06 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-01-21 14:26:06 +0100 |
commit | e4801a426a954040aeb6d2c6d5c1b3e596bd1cab (patch) | |
tree | e0e206acc5d64729971295f4c7ca391ed8f1c9ef /source4/setup/provision-backend | |
parent | 1101d7aa57eb559a13cc35422c57e8c5766c2a9c (diff) | |
download | samba-e4801a426a954040aeb6d2c6d5c1b3e596bd1cab.tar.gz samba-e4801a426a954040aeb6d2c6d5c1b3e596bd1cab.tar.bz2 samba-e4801a426a954040aeb6d2c6d5c1b3e596bd1cab.zip |
Use script path to find the setup directory.
Diffstat (limited to 'source4/setup/provision-backend')
-rwxr-xr-x | source4/setup/provision-backend | 2 |
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, |