From 35ec7c34b3a233a8d1b0a551b3c6095a45eb6bb6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Apr 2010 18:16:47 +1000 Subject: build: cope with binaries with subdir prefixes (for s3 waf build) --- buildtools/wafsamba/samba_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py index 2fbf5da843..2f861616c1 100644 --- a/buildtools/wafsamba/samba_install.py +++ b/buildtools/wafsamba/samba_install.py @@ -147,7 +147,7 @@ def symlink_bin(self): blddir = Utils.g_module.blddir binpath = self.link_task.outputs[0].abspath(self.env) - bldpath = os.path.join(blddir, self.target) + bldpath = os.path.join(blddir, os.path.basename(self.target)) binpath = os_path_relpath(binpath, os.path.dirname(bldpath)) -- cgit