From 442a383418dc3eb1809e66c966933071034d5325 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 13 Dec 2004 18:08:32 +1100 Subject: - (dtucker) [contrib/findssh.sh] Clean up on interrupt; from amarendra.godbole at ge com. --- contrib/findssl.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'contrib/findssl.sh') diff --git a/contrib/findssl.sh b/contrib/findssl.sh index 0c08d4a18..716abced5 100644 --- a/contrib/findssl.sh +++ b/contrib/findssl.sh @@ -1,5 +1,7 @@ #!/bin/sh # +# $Id: findssl.sh,v 1.3 2004/12/13 07:08:33 dtucker Exp $ +# # 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: findssl.sh,v 1.2 2003/11/21 12:48:56 djm Exp $ +# 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 # -- cgit v1.2.3