diff options
author | Kai Blin <kai@samba.org> | 2010-04-11 21:59:43 +0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-12 17:47:30 +1000 |
commit | c09fa85735b044028f9659e2db075918fdfd07c8 (patch) | |
tree | ff00900dd96f808705a47cdad8431c045756803d | |
parent | e683ac6f81306a03d8fe6bedeb5ca1a6facd6f1f (diff) | |
download | samba-c09fa85735b044028f9659e2db075918fdfd07c8.tar.gz samba-c09fa85735b044028f9659e2db075918fdfd07c8.tar.bz2 samba-c09fa85735b044028f9659e2db075918fdfd07c8.zip |
s3-waf: Correctly create symlink if SAMBA_BINARY targets are not in the current diectory
Many thanks to ita for pointing out the fix.
-rw-r--r-- | buildtools/wafsamba/samba_install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py index df65da1e15..6da4493218 100644 --- a/buildtools/wafsamba/samba_install.py +++ b/buildtools/wafsamba/samba_install.py @@ -150,7 +150,7 @@ def symlink_bin(self): blddir = os.path.dirname(self.bld.srcnode.abspath(self.bld.env)) binpath = self.link_task.outputs[0].abspath(self.env) - bldpath = os.path.join(self.bld.env.BUILD_DIRECTORY, self.target) + bldpath = os.path.join(self.bld.env.BUILD_DIRECTORY, self.link_task.outputs[0].name) if os.path.lexists(bldpath): old_link = os.readlink(bldpath) |