From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e31.co.us.ibm.com ([32.97.110.149]:47247 "EHLO e31.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755958Ab1KUUIE (ORCPT ); Mon, 21 Nov 2011 15:08:04 -0500 Received: from /spool/local by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 21 Nov 2011 13:08:04 -0700 Message-ID: <1321905937.6445.3.camel@work-vm> Subject: Re: [PATCH 1/2] merge_config.sh: use signal names compatible with dash and bash From: John Stultz Date: Mon, 21 Nov 2011 12:05:37 -0800 In-Reply-To: <591b0f764fd9eb0bc7873ef775052cb038484ae7.1321904550.git.dvhart@linux.intel.com> References: <1321567131.25715.32.camel@work-vm> <591b0f764fd9eb0bc7873ef775052cb038484ae7.1321904550.git.dvhart@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Darren Hart Cc: Linux Kernel Mailing List , Andrew Morton , Sam Ravnborg , gthelen@google.com, Dmitry Fink , Eric B Munson , Bruce Ashfield , Michal Marek , linux-kbuild@vger.kernel.org, Richard Tartler On Mon, 2011-11-21 at 11:42 -0800, Darren Hart wrote: > 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 Acked-by: John Stultz > --- > 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 [...]]"