check_GNU_style.sh: Remove temporay file upon exit.

2012-10-02   Christophe Lyon  <christophe.lyon@linaro.org>

       * check_GNU_style.sh: Remove temporay file upon exit.

From-SVN: r191954
This commit is contained in:
Christophe Lyon 2012-10-02 07:41:28 +00:00 committed by Christophe Lyon
parent e9453c6a3f
commit c8ae7abfab
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-10-02 Christophe Lyon <christophe.lyon@linaro.org>
* check_GNU_style.sh: Remove temporay file upon exit.
2012-09-26 Joern Rennecke <joern.rennecke@embecosm.com>
* contrib-list.mk (LIST): Remove arm-freebsd6, arm-linux,

View File

@ -37,6 +37,10 @@ test $# -eq 0 && usage
tmp=check_GNU_style.tmp
# Remove $tmp on exit and various signals.
trap "rm -f $tmp" 0
trap "rm -f $tmp ; exit 1" 1 2 3 5 9 13 15
# Grep
g (){
msg="$1"