Short circuit ranlib in trap handler.

This commit is contained in:
Andy Polyakov
2007-08-26 08:51:23 +00:00
parent 0406ce2646
commit 67c31c4b61

View File

@@ -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