Update config.pm
authorLőrinczy, Zsigmond <zsigmond.lorinczy@idomsoft.hu>
Fri, 25 Jun 2021 05:28:56 +0000 (07:28 +0200)
committerPauli <pauli@openssl.org>
Sun, 27 Jun 2021 10:20:19 +0000 (20:20 +1000)
Missing '(' added into a PowerPC-specific command

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15911)

util/perl/OpenSSL/config.pm

index 58feba952b2cb7664a3771a186e430517bd32726..5f549f80249cb565a1eaf3b3a9332fadcd0a33fb 100755 (executable)
@@ -859,7 +859,7 @@ EOF
                 }
             }
             if ( okrun(
-                       "lsattr -E -O -l `lsdev -c processor|awk '{print \$1;exit}'`",
+                       "(lsattr -E -O -l `lsdev -c processor|awk '{print \$1;exit}'`",
                        'grep -i powerpc) >/dev/null 2>&1') ) {
                 # this applies even to Power3 and later, as they return
                 # PowerPC_POWER[345]