From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com ([134.134.136.24]:16658 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753129Ab1KUTmh (ORCPT ); Mon, 21 Nov 2011 14:42:37 -0500 From: Darren Hart Subject: [PATCH 1/2] merge_config.sh: use signal names compatible with dash and bash Date: Mon, 21 Nov 2011 11:42:29 -0800 Message-Id: <591b0f764fd9eb0bc7873ef775052cb038484ae7.1321904550.git.dvhart@linux.intel.com> In-Reply-To: <1321567131.25715.32.camel@work-vm> References: <1321567131.25715.32.camel@work-vm> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Linux Kernel Mailing List Cc: John Stultz , Andrew Morton , Sam Ravnborg , gthelen@google.com, Dmitry Fink , Eric B Munson , Bruce Ashfield , Michal Marek , linux-kbuild@vger.kernel.org, Richard Tartler , Darren Hart The SIGHUP SIGINT and SIGTERM names caused failures when running merge_config.sh with the dash shell. Dropping the "SIG" component makes the script work in both bash and dash. Signed-off-by: Darren Hart --- scripts/kconfig/merge_config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh index 890276b..b91015d 100755 --- a/scripts/kconfig/merge_config.sh +++ b/scripts/kconfig/merge_config.sh @@ -24,7 +24,7 @@ clean_up() { rm -f $TMP_FILE exit } -trap clean_up SIGHUP SIGINT SIGTERM +trap clean_up HUP INT TERM usage() { echo "Usage: $0 [OPTIONS] [CONFIG [...]]" -- 1.7.6.4