From eff77c567730c576723e8f5790acd917f21c925b Mon Sep 17 00:00:00 2001 From: Francesco Giacomini Date: Fri, 26 Apr 2024 17:56:31 +0200 Subject: [PATCH] Avoid bash-isms in scripts --- lib/vomslib.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vomslib.robot b/lib/vomslib.robot index e3d77e2..0b54eb4 100644 --- a/lib/vomslib.robot +++ b/lib/vomslib.robot @@ -46,7 +46,7 @@ Stop using certificate Get certificate subject [Arguments] ${certFile} File Should Exist ${certFile} - ${subject} Execute and Check Success openssl x509 -in ${certFile} -noout -subject $(grep -q "^OpenSSL 3\." <(openssl version) && echo -nameopt compat) | sed -E "s#subject= ?##" + ${subject} Execute and Check Success openssl x509 -in ${certFile} -noout -subject $(openssl version | grep -q "^OpenSSL 3\." && echo -nameopt compat) | sed -E "s#subject= ?##" RETURN ${subject} Get named certificate subject [Arguments] ${cert}