Add check for setenv-*.sh scripts
parent
4fc5b8da13
commit
12bb4866dd
|
|
@ -11,6 +11,11 @@
|
|||
# ====================================================================
|
||||
set +e
|
||||
|
||||
if [ -z $(command -v ./setenv-android-gcc.sh) ]; then
|
||||
echo "Pailed to locate setenv-android-gcc.sh"
|
||||
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
||||
fi
|
||||
|
||||
if [ -z "${PLATFORM-}" ]; then
|
||||
PLATFORMS=(armeabi armeabi-v7a armv7a-neon aarch64 mipsel mipsel64 x86 x86_64)
|
||||
else
|
||||
|
|
|
|||
|
|
@ -10,6 +10,11 @@
|
|||
# See http://www.cryptopp.com/wiki/iOS_(Command_Line) for more details
|
||||
# ====================================================================
|
||||
|
||||
if [ -z $(command -v ./setenv-ios.sh) ]; then
|
||||
echo "Pailed to locate setenv-ios.sh"
|
||||
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
||||
fi
|
||||
|
||||
if [ -z "${PLATFORM-}" ]; then
|
||||
PLATFORMS=(iPhoneOS iPhoneSimulator Arm64 WatchOS WatchSimulator AppleTVOS AppleTVSimulator)
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue