aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-12-02 11:13:05 +0100
committerKim Alvefur <zash@zash.se>2016-12-02 11:13:05 +0100
commit5edecf159e4a7da6a5b8edccc9766a8119f8b69c (patch)
treeb8d5008111c5708e9ee236f6139e5100ccd683d2 /configure
parent8cc205862760e879aa21ae934d62143e7f618b8a (diff)
parentb505c4dd28533f117a2085a020426111411e6d88 (diff)
downloadprosody-5edecf159e4a7da6a5b8edccc9766a8119f8b69c.tar.gz
prosody-5edecf159e4a7da6a5b8edccc9766a8119f8b69c.zip
Merge 0.10->trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure b/configure
index 2513eed3..974823c3 100755
--- a/configure
+++ b/configure
@@ -81,7 +81,7 @@ EOF
while [ "$1" ]
do
- value="`echo $1 | sed 's/[^=]*=\(.*\)/\1/'`"
+ value="$(echo "$1" | sed 's/[^=]*=\(.*\)/\1/')"
if echo "$value" | grep -q "~"
then
echo
@@ -268,8 +268,8 @@ fi
find_program() {
path="$PATH"
- item="`echo "$path" | sed 's/\([^:]*\):.*/\1/'`"
- path="`echo "$path" | sed -n 's/[^:]*::*\(.*\)/\1/p'`"
+ item="$(echo "$path" | sed 's/\([^:]*\):.*/\1/')"
+ path="$(echo "$path" | sed -n 's/[^:]*::*\(.*\)/\1/p')"
found="no"
while [ "$item" ]
do
@@ -278,8 +278,8 @@ find_program() {
found="yes"
break
fi
- item="`echo "$path" | sed 's/\([^:]*\):.*/\1/'`"
- path="`echo "$path" | sed -n 's/[^:]*::*\(.*\)/\1/p'`"
+ item="$(echo "$path" | sed 's/\([^:]*\):.*/\1/')"
+ path="$(echo "$path" | sed -n 's/[^:]*::*\(.*\)/\1/p')"
done
if [ "$found" = "yes" ]
then
@@ -301,7 +301,7 @@ then
find_lua="$LUA_DIR"
fi
else
- find_lua=`find_program lua$suffix`
+ find_lua="$(find_program lua$suffix)"
fi
if [ "$find_lua" ]
then
@@ -316,12 +316,12 @@ then
echo -n "Looking for Lua... "
if [ ! "$find_lua" ]
then
- find_lua=`find_program lua$LUA_SUFFIX`
+ find_lua="$(find_program lua$LUA_SUFFIX)"
echo "lua$LUA_SUFFIX found in \$PATH: $find_lua"
fi
if [ "$find_lua" ]
then
- LUA_DIR=`dirname $find_lua`
+ LUA_DIR="$(dirname $find_lua)"
LUA_BINDIR="$find_lua"
else
echo "lua$LUA_SUFFIX not found in \$PATH."