From f33063fe86393292a97a3793325b962973146316 Mon Sep 17 00:00:00 2001 From: Steven Chamberlain Date: Thu, 11 Feb 2016 02:27:29 +0000 Subject: [PATCH] ctdb: Fix detection of gnukfreebsd GNU/kFreeBSD's platform name is 'gnukfreebsd', not just 'kfreebsd'. Reviewed-by: Andrew Bartlett --- ctdb/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/wscript b/ctdb/wscript index 6dc855f..4351efa 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -315,7 +315,7 @@ def build(bld): CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_aix.c') elif sys.platform.startswith('freebsd'): CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_freebsd.c') - elif sys.platform == 'kfreebsd': + elif sys.platform.startswith('gnukfreebsd'): CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_kfreebsd.c') elif sys.platform == 'gnu': CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_gnu.c')