Use same condition order

This commit is contained in:
Davide De Rosa 2017-10-18 09:20:26 +02:00
parent 15d5c28c08
commit ba666f2507
1 changed files with 3 additions and 3 deletions

View File

@ -26,10 +26,10 @@ ALL_SYSTEMS=("iPhone" "AppleTV")
function check_bitcode() {
local FWDIR=$1
if [[ $FWTYPE == static ]]; then
BITCODE_PATTERN="__bitcode"
else
if [[ $FWTYPE == "dynamic" ]]; then
BITCODE_PATTERN="__LLVM"
else
BITCODE_PATTERN="__bitcode"
fi
if otool -l "$FWDIR/$FWNAME" | grep "${BITCODE_PATTERN}" >/dev/null; then