summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2012-01-11 00:41:10 +0100
committerMichal Marek <mmarek@suse.cz>2012-01-14 21:44:29 +0100
commit041b78c89b1fe68f44c45e8b6cc6c9f8ea8f0e4c (patch)
treeee84767b51a0d08f6ef7c2556843252c8b50b4ca /scripts
parentkconfig: add merge_config.sh script (diff)
downloadlinux-041b78c89b1fe68f44c45e8b6cc6c9f8ea8f0e4c.tar.xz
linux-041b78c89b1fe68f44c45e8b6cc6c9f8ea8f0e4c.zip
merge_config.sh: use signal names compatible with dash and bash
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 <dvhart@linux.intel.com> Acked-by: John Stultz <john.stultz@linaro.org> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/merge_config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
index 890276bd1e67..b91015df96aa 100644
--- 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 [...]]"