Skip to content

Commit

Permalink
merge_config.sh: use signal names compatible with dash and bash
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dvhart authored and michal42 committed Jan 14, 2012
1 parent 4b5f721 commit 041b78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kconfig/merge_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 [...]]"
Expand Down

0 comments on commit 041b78c

Please sign in to comment.