Use double parenthesis for math expressions.

This allows FreeBSD with a pure /bin/sh (not a symlink to /bin/bash) to build
the cross-tools to a dedicated directory, outside of the generated folder.
This commit is contained in:
Matt Madia 2013-09-22 13:57:53 -04:00
parent 99b3982f2c
commit d68208fa16

2
configure vendored
View File

@ -574,7 +574,7 @@ while [ $# -gt 0 ] ; do
set_variable crossToolsPrefix_$targetArch "$2"
targetArchs="$targetArchs $targetArch"
HAIKU_PACKAGING_ARCHS=
unknownArchIndex=$[$unknownArchIndex + 1]
unknownArchIndex=$(($unknownArchIndex + 1))
shift 2
;;
--distro-compatibility)