From a122428a585281ebaf0135f11bd9377af9f6ab97 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Sun, 9 Sep 2018 20:34:31 +1000 Subject: [PATCH] ctdb-build: Use wafsamba's INSTALL_DIR() install_dir() doesn't work (doesn't respect $DESTDIR) and is only available for backward compatibilty. Signed-off-by: Martin Schwenke Reviewed-by: Alexander Bokovoy --- ctdb/wscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ctdb/wscript b/ctdb/wscript index 59deb8cce09..06cc1542f78 100644 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -861,12 +861,12 @@ def build(bld): 'config/notification.README', destname='README') - bld.install_dir(bld.env.CTDB_LOGDIR) - bld.install_dir(bld.env.CTDB_RUNDIR) - bld.install_dir(bld.env.CTDB_VARDIR) + bld.INSTALL_DIR(bld.env.CTDB_LOGDIR) + bld.INSTALL_DIR(bld.env.CTDB_RUNDIR) + bld.INSTALL_DIR(bld.env.CTDB_VARDIR) for d in ['volatile', 'persistent', 'state']: - bld.install_dir(os.path.join(bld.env.CTDB_VARDIR, d)) + bld.INSTALL_DIR(os.path.join(bld.env.CTDB_VARDIR, d)) bld.SAMBA_BINARY('errcode', source='tests/src/errcode.c', -- 2.47.2