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:
parent
99b3982f2c
commit
d68208fa16
2
configure
vendored
2
configure
vendored
@ -574,7 +574,7 @@ while [ $# -gt 0 ] ; do
|
|||||||
set_variable crossToolsPrefix_$targetArch "$2"
|
set_variable crossToolsPrefix_$targetArch "$2"
|
||||||
targetArchs="$targetArchs $targetArch"
|
targetArchs="$targetArchs $targetArch"
|
||||||
HAIKU_PACKAGING_ARCHS=
|
HAIKU_PACKAGING_ARCHS=
|
||||||
unknownArchIndex=$[$unknownArchIndex + 1]
|
unknownArchIndex=$(($unknownArchIndex + 1))
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
--distro-compatibility)
|
--distro-compatibility)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user