diff options
| author | Jani Nikula <jani@nikula.org> | 2016-04-13 21:32:46 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-05-01 21:20:05 -0300 |
| commit | 2b7b32fc476d0d9b52fc69ee1690b15ea1360207 (patch) | |
| tree | 249f93729b60407a4bd85d50b4fefac6d78779c6 | |
| parent | 0777828745740dd070192b305171574c460e42ca (diff) | |
configure: SC2006: Use $(..) instead of legacy `..`
Fix shellcheck warnings.
| -rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
