From: dtucker Date: Mon, 13 Dec 2004 07:08:32 +0000 (+0000) Subject: - (dtucker) [contrib/findssh.sh] Clean up on interrupt; from X-Git-Tag: V_4_0_P1~110 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/7a5de142457ad6974ee15ade0f38ef157c3de9fb - (dtucker) [contrib/findssh.sh] Clean up on interrupt; from amarendra.godbole at ge com. --- diff --git a/ChangeLog b/ChangeLog index a970c7bb..f852c76e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20041213 + - (dtucker) [contrib/findssh.sh] Clean up on interrupt; from + amarendra.godbole at ge com. + 20041211 - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2004/12/06 16:00:43 diff --git a/contrib/findssl.sh b/contrib/findssl.sh index c01f35a5..a4e8f4c8 100644 --- a/contrib/findssl.sh +++ b/contrib/findssl.sh @@ -1,5 +1,7 @@ #!/bin/sh # +# $Id$ +# # findssl.sh # Search for all instances of OpenSSL headers and libraries # and print their versions. @@ -9,10 +11,11 @@ # Written by Darren Tucker (dtucker at zip dot com dot au) # This file is placed in the public domain. # -# $Id$ +# Release history: # 2002-07-27: Initial release. # 2002-08-04: Added public domain notice. # 2003-06-24: Incorporated readme, set library paths. First cvs version. +# 2004-12-13: Add traps to cleanup temp files, from Amarendra Godbole. # # "OpenSSL headers do not match your library" are usually caused by # OpenSSH's configure picking up an older version of OpenSSL headers @@ -63,6 +66,11 @@ CC=gcc STATIC=-static +# +# Cleanup on interrupt +# +trap 'rm -f conftest.c' INT HUP TERM + # # Set up conftest C source #