Honor CPU in sys/ios-static arg

This commit is contained in:
pancake 2016-09-13 00:17:07 +02:00
parent 039d1fb7c4
commit 11dfabd0e4
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
export APPSTORE_FRIENDLY=1
${SHELL} sys/ios-static.sh
${SHELL} sys/ios-static.sh $@

View File

@ -1,5 +1,14 @@
#!/bin/sh
if [ "$1" = "-h" ]; then
echo "Usage: sys/ios-static.sh [armv7|arm64]"
exit 0
fi
if [ -n "$1"]; then
export CPU="$1"
fi
if [ -z "${CPU}" ]; then
export CPU=arm64
export CPU=armv7