]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
configure: remove TMPDIR on exit
authorMathias Krause <minipli@googlemail.com>
Sat, 1 Sep 2012 18:55:29 +0000 (20:55 +0200)
committerStephen Hemminger <shemminger@vyatta.com>
Tue, 4 Sep 2012 16:42:16 +0000 (09:42 -0700)
Commit e557d1a ("Don't put configure files in /tmp") introduced a typo
that prevented automated cleanup of the temporary directory created for
feature testing. Fix this typo.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
configure

index db7cd6a8843a3392bbf466acd42c5e23d26555b1..2c2d1c45e5e89f49ec0711313900957d8c1a9b69 100755 (executable)
--- a/configure
+++ b/configure
@@ -5,7 +5,7 @@ INCLUDE=${1:-"$PWD/include"}
 
 # Make a temp directory in build tree.
 TMPDIR=$(mktemp -d config.XXXXXX)
-trap 'status=$?; rm -rf $TMPDIRa; exit $status' EXIT HUP INT QUIT TERM
+trap 'status=$?; rm -rf $TMPDIR; exit $status' EXIT HUP INT QUIT TERM
 
 check_atm()
 {