1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

ctdb-build: Fix RPM build

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12595

It doesn't look like recursion works for appending scripting commands.
Unroll the recursion instead.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Mon Feb 27 03:09:27 CET 2017 on sn-devel-144

(cherry picked from commit 7dbc5bbd60b1c0f32366ad5373ed13aee17f7050)
This commit is contained in:
Martin Schwenke 2017-02-25 13:04:45 +11:00 committed by Karolin Seeger
parent be23d38143
commit 8d0e014855

View File

@ -1025,7 +1025,8 @@ def rpmonly(ctx):
def rpm(ctx):
import Scripting
Scripting.commands.append('dist')
Scripting.commands.append('manpages')
Scripting.commands.append('distonly')
Scripting.commands.append('rpmonly')