Short circuit ranlib in trap handler.
authorAndy Polyakov <appro@openssl.org>
Sun, 26 Aug 2007 08:51:23 +0000 (08:51 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 26 Aug 2007 08:51:23 +0000 (08:51 +0000)
fips/fipsld

index 5d7758144f9a08b86b37c0952ea4a6977fd41159..542db566b4663f655cbce2a4297dd099b725ff35 100755 (executable)
@@ -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