configure: SC2006: Use $(..) instead of legacy ..

Fix shellcheck warnings.
This commit is contained in:
Jani Nikula 2016-04-13 21:32:46 +03:00 committed by David Bremner
parent 0777828745
commit 2b7b32fc47

4
configure vendored
View file

@ -250,7 +250,7 @@ if [ -z "$LIBDIR" ] ; then
libdir_expanded="${PREFIX}/lib"
else
# very non-general variable expansion
libdir_expanded=`echo "$LIBDIR" | sed "s|\\${prefix}|${PREFIX}|g; s|\\$prefix/|${PREFIX}/|; s|//*|/|g"`
libdir_expanded=$(echo "$LIBDIR" | sed "s|\\${prefix}|${PREFIX}|g; s|\\$prefix/|${PREFIX}/|; s|//*|/|g")
fi
cat <<EOF
@ -542,7 +542,7 @@ fi
libdir_in_ldconfig=0
printf "Checking which platform we are on... "
uname=`uname`
uname=$(uname)
if [ $uname = "Darwin" ] ; then
printf "Mac OS X.\n"
platform=MACOSX