mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
Old shells expect number for test -gt
This commit is contained in:
parent
086c36c582
commit
88580023d3
4
env.sh
4
env.sh
@ -54,12 +54,12 @@ if [ -z "$*" ]; then
|
||||
echo "==> Back to system shell..."
|
||||
echo
|
||||
else
|
||||
if [ "$#" -gt 1 ]; then
|
||||
if [ $# -gt 1 ]; then
|
||||
par=""
|
||||
p=0
|
||||
while : ; do
|
||||
p=$(($p+1))
|
||||
[ "$p" -gt $# ] && break
|
||||
[ $p -gt $# ] && break
|
||||
a=`eval echo "\$\{$p\}"`
|
||||
par="$par\"$a\" "
|
||||
done
|
||||
|
@ -11,7 +11,11 @@ IOS_SDK_VERSION="9.0"
|
||||
|
||||
else
|
||||
|
||||
ifeq ($(shell test "$(XCODE_VERSION_MAJOR)" -gt 10;echo $$?),0)
|
||||
ifeq ($(XCODE_VERSION_MAJOR),)
|
||||
XCODE_VERSION_MAJOR=0
|
||||
endif
|
||||
|
||||
ifeq ($(shell test $(XCODE_VERSION_MAJOR) -gt 10;echo $$?),0)
|
||||
MACOS_VERSION="10.5"
|
||||
MACOS_SDK_VERSION="10.5"
|
||||
PARTIALLD+=-arch ${ARCH} -platform_version macos $(MACOS_VERSION) $(MACOS_SDK_VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user