]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb: Prevent man page duplication
authorDavid Mulder <dmulder@suse.com>
Thu, 10 Sep 2020 17:50:53 +0000 (11:50 -0600)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 11 Sep 2020 03:43:40 +0000 (03:43 +0000)
The new waf detects a duplicate instance of
ctdb_mutex_ceph_rados_helper.7.xml, which is due
to manpages_extra being a pointer to
manpages_misc, therefore each call to build()
added duplicate entries to the manpages_misc
global entry.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
ctdb/wscript

index 35c8c0622fc4b9e381e2519844dc5892fc7562a3..b883990c55e1c873980818246759f8b066ef8682 100644 (file)
@@ -705,7 +705,7 @@ def build(bld):
                        (sed_expr1, sed_expr2, sed_expr3, sed_expr4, sed_expr5,
                         sed_expr6, sed_expr7, sed_expr8)
 
-    manpages_extra = manpages_misc
+    manpages_extra = list(manpages_misc)
     if bld.env.etcd_reclock:
         manpages_extra += manpages_etcd
     if bld.env.HAVE_LIBRADOS: