1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +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
This commit is contained in:
Martin Schwenke 2017-02-25 13:04:45 +11:00 committed by Amitay Isaacs
parent e458bdd7d2
commit 7dbc5bbd60

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')