From patchwork Sun May 12 19:08:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clement Chauplannaz X-Patchwork-Id: 2555851 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 83FD53FE1F for ; Sun, 12 May 2013 19:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751250Ab3ELTJE (ORCPT ); Sun, 12 May 2013 15:09:04 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:34638 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751222Ab3ELTJD (ORCPT ); Sun, 12 May 2013 15:09:03 -0400 Received: by mail-wi0-f181.google.com with SMTP id hi5so838158wib.2 for ; Sun, 12 May 2013 12:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references; bh=/k0gpp72jbhnmJSKz4y8HjrNbfnvIyi+pftbVQe0BIk=; b=PRecXKGCdqBlY6akcN7wn9RCZaSWXlCOtUVIOCixRDbV/BGoi6T8lS1h5ZpenkgdTF p/+d8AWJlxERiwMhhHc1TujwuNHLhRLpWgmcCNd9VfdagGfIG3rZ6/vhIw+uO8x9vH5o seLnmssP8W8/7gcuzUI05szm2cwkQ465t11MTt5NUSBrxuL+qmH1QyZdHaPYddEnFJwa iocvgWysk4J3X2xaZR5Rn1JpfAz3/UUWtRJGFS1CfbnPs7ZrxoAkHTh+6m8CfImC9ICh JoGrwEALu9PdXbBEKi0WTwXNJw7DPpamMO83OBq1SaSLikPtAGHrvAdbuSNLTQA9/tqC wudA== X-Received: by 10.194.92.197 with SMTP id co5mr35655470wjb.41.1368385741770; Sun, 12 May 2013 12:09:01 -0700 (PDT) Received: from localhost.localdomain (67.7.75.86.rev.sfr.net. [86.75.7.67]) by mx.google.com with ESMTPSA id bs20sm11244660wib.0.2013.05.12.12.08.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 12 May 2013 12:09:01 -0700 (PDT) From: Clement Chauplannaz To: linux-kbuild@vger.kernel.org Cc: mmarek@suse.cz, andi@firstfloor.org, yann.morin.1998@free.fr Subject: [PATCH 2/2] scripts/config: fix assignment of parameters for short version of --*-after options Date: Sun, 12 May 2013 21:08:52 +0200 Message-Id: X-Mailer: git-send-email 1.8.3.rc1.44.gb387c77.dirty In-Reply-To: References: In-Reply-To: References: Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org When --*-after options are used, two parameters are parsed from the command-line before the adequate function is called: - the `before' option, after which the new option will be inserted, - the name of the option to enable/disable/modularise. With the short version of --*-after options (namely -E, -D, -M), the parsing step is not performed which leads to processing unset variables. Add options -E, -D, -M to the test that triggers assignment of parameters for --*-after options. Signed-off-by: Clement Chauplannaz --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 6b3272e..567120a 100755 --- a/scripts/config +++ b/scripts/config @@ -107,7 +107,7 @@ while [ "$1" != "" ] ; do ;; --refresh) ;; - --*-after) + --*-after|-E|-D|-M) checkarg "$1" A=$ARG checkarg "$2"