This is a shell script so ...
Patch is attached to bug 5217 (https://bugzilla.samba.org/attachment.cgi?id=3138)
Created attachment 3221 [details] less intrusive patch (install as 644 instead of 755) New patch, less intrusive, to install as 644 instead of 755. Thanks.
This has been fixed : http://git.samba.org/?p=sahlberg/ctdb.git;a=commitdiff;h=d481f0f3d11e66d259cbc84f34cb6ae27d09e42c
Then the first patch is applied : see http://git.samba.org/?p=sahlberg/ctdb.git;a=commitdiff;h=9b8179ad043a80e0e18eeba427a7b7b15690d039