From 67c31c4b613eae3ec07b15c13c43bc93f4ea36c7 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 26 Aug 2007 08:51:23 +0000 Subject: [PATCH] Short circuit ranlib in trap handler. --- fips/fipsld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fips/fipsld b/fips/fipsld index 5d7758144f..542db566b4 100755 --- a/fips/fipsld +++ b/fips/fipsld @@ -128,7 +128,7 @@ libcrypto*|*.dll) # must be linking a shared lib... # Temporarily remove fipscanister.o from libcrypto.a! # We are required to use the standalone copy... trap 'ar r "${THERE}/libcrypto.a" "${CANISTER_O}"; - (ranlib "${THERE}/libcrypto.a") 2>/dev/null; + (ranlib "${THERE}/libcrypto.a") 2>/dev/null || :; sleep 1; touch -c "${TARGET}"' 0 -- 2.25.1