mirror of https://git.wownero.com/dsc/mxe.git
install-deps: fix syntax in condition for libtool
Without external `(` and `)` the condition is evaluated to false on Debian Jessie.
This commit is contained in:
parent
f0d60ac7de
commit
7003fa837b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue