summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-06-28 22:40:28 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-06-28 22:40:28 (GMT)
commit7003fa837b20fac0ea04a59fc122d7073eb43204 (patch)
tree2faca1ab2b6dab3117505e869067c5cc60d339b5 /tools
parentf0d60ac7def28bc7bc7af08ca4f9b91936fac3a7 (diff)
downloadmxe-7003fa837b20fac0ea04a59fc122d7073eb43204.zip
mxe-7003fa837b20fac0ea04a59fc122d7073eb43204.tar.gz
mxe-7003fa837b20fac0ea04a59fc122d7073eb43204.tar.bz2
install-deps: fix syntax in condition for libtool
Without external `(` and `)` the condition is evaluated to false on Debian Jessie.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install-deps4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install-deps b/tools/install-deps
index 5daf90d..a7cd4cb 100755
--- a/tools/install-deps
+++ b/tools/install-deps
@@ -16,8 +16,8 @@ if [[ "$OSTYPE" =~ "linux" ]]; then
fi
DIST=`lsb_release -si`
REL=`lsb_release -sr`
- if [[ $DIST =~ "Debian" ]] && (( `echo "$REL > 8" | bc -l` )) || \
- [[ $DIST =~ "Ubuntu" ]] && (( `echo "$REL > 14.10" | bc -l` )); then
+ if ( [[ $DIST =~ "Debian" ]] && (( `echo "$REL > 8" | bc -l` )) ) || \
+ ( [[ $DIST =~ "Ubuntu" ]] && (( `echo "$REL > 14.10" | bc -l` )) ); then
apt-get --yes install libtool-bin
fi
# install Lua for build-pkg