From 28a71012d85ae4aee417933416b7ce71bc137ca4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 3 Nov 2011 16:45:05 +0100 Subject: [PATCH] fix option parsing --- kernel_build.py | 2 +- kernel_inpbuilder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel_build.py b/kernel_build.py index b2063dc..bf5a4e3 100644 --- a/kernel_build.py +++ b/kernel_build.py @@ -70,7 +70,7 @@ def build_kernel_with_pbuilder(revision, pbuilder_script, dist='stable'): pbuilder_script = os.path.abspath(pbuilder_script) if os.environ.get('SOURCE_BUILD'): - SOURCE_BUILD='--source-only' + SOURCE_BUILD='--source-only=True' else: SOURCE_BUILD='' diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index ccb134e..20a37ea 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -138,7 +138,7 @@ def getopts(): ) parser.add_option( - '--source_only', + '--source-only', dest='source_only', default=False, metavar='SOURCE_ONLY', -- 2.39.5