diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-12-13 08:08:32 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-12-13 08:08:32 +0100 |
commit | 442a383418dc3eb1809e66c966933071034d5325 (patch) | |
tree | 5dd97bd2c45a48aa656db3494f3352bf44169266 /contrib | |
parent | - dtucker@cvs.openbsd.org 2004/12/11 01:48:56 (diff) | |
download | openssh-442a383418dc3eb1809e66c966933071034d5325.tar.xz openssh-442a383418dc3eb1809e66c966933071034d5325.zip |
- (dtucker) [contrib/findssh.sh] Clean up on interrupt; from
amarendra.godbole at ge com.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/findssl.sh | 10 |
1 files changed, 9 insertions, 1 deletions
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 @@ -64,6 +67,11 @@ CC=gcc STATIC=-static # +# Cleanup on interrupt +# +trap 'rm -f conftest.c' INT HUP TERM + +# # Set up conftest C source # rm -f findssl.log |