wafsamba: Only use $DESTDIR in INSTALL_DIR() if it is set
authorMartin Schwenke <martin@meltin.net>
Thu, 13 Sep 2018 00:54:48 +0000 (10:54 +1000)
committerMartin Schwenke <martins@samba.org>
Thu, 13 Sep 2018 07:37:23 +0000 (09:37 +0200)
commit93d72bcfb0dea3d7734771bbb550c45d642955c9
treea13faa6530d3c3b442315007fdca0785108f43b5
parentf84e372a5ba154c524c63a2da07410c036fd0222
wafsamba: Only use $DESTDIR in INSTALL_DIR() if it is set

Otherwise the leading '/' is stripped and directories are created
relative to the current directory.

This fixes a regression introduced in recent commit
26ea0f58daace4adef7c5bb17f19476083bf3b7b.

Reported-by: Ralph Böhme <slow@samba.org>
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Thu Sep 13 09:37:23 CEST 2018 on sn-devel-144
buildtools/wafsamba/wafsamba.py