mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
configure: SC2006: Use $(..) instead of legacy ..
Fix shellcheck warnings.
This commit is contained in:
parent
0777828745
commit
2b7b32fc47
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue