network/opensm: Replaced backtick cmdsub.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-07-15 04:13:09 -04:00 committed by Willy Sudiarto Raharjo
parent 5aff7548d2
commit 15cc4705de
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -63,7 +63,7 @@ fi
METIS=${METIS:-no}
WITH_METIS=
if [ "`echo $METIS | tr 'a-z' 'A-Z'`" = YES ]; then
if [ "$( echo $METIS | tr 'a-z' 'A-Z' )" = YES ]; then
for inc_dir in /usr/include/metis /usr/include/suitesparse; do
if [ -e $inc_dir/metis.h ]; then
WITH_METIS="--with-metis --with-metis-includes=$inc_dir"