* check_GNU_style.sh: Remove temporay file upon exit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191954
138bc75d-0d04-0410-961f-
82ee72b054a4
+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,
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"