From f8e3e5ce074ba08aefba3b4e7fe804c08687dbfa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell <tridge@samba.org> Date: Sun, 18 Apr 2010 21:08:11 +1000 Subject: build: fixed install of binary targets that are in subdirs this should fix the smbd/smbd install problem with Kai's 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 74730dd3b2..e2db589ff0 100644 --- a/buildtools/wafsamba/samba_install.py +++ b/buildtools/wafsamba/samba_install.py @@ -29,7 +29,7 @@ def install_binary(self): install_path = self.samba_inst_path or '${BINDIR}' install_path = bld.EXPAND_VARIABLES(install_path) - orig_target = self.target + orig_target = os.path.basename(self.target) if install_ldflags != build_ldflags: # we will be creating a new target name, and using that for the -- cgit