Added missing 0 return code

pull/156/head
Jeffrey Walton 2016-03-09 01:47:41 -05:00
parent 22d6374ce7
commit 80d1bc906e
2 changed files with 8 additions and 4 deletions

View File

@ -208,7 +208,7 @@ fi
# Error checking
if [ ! -e "$AOSP_TOOLCHAIN_PATH/$RANLIB" ]; then
echo "ERROR: Failed to find Android ranlib. Please edit this script."
# exit 1
[ "$0" = "$BASH_SOURCE" ] && exit 1 || return 1
fi
# Error checking
@ -220,7 +220,7 @@ fi
# Error checking
if [ ! -e "$AOSP_TOOLCHAIN_PATH/$AS" ]; then
echo "ERROR: Failed to find Android as. Please edit this script."
# exit 1
[ "$0" = "$BASH_SOURCE" ] && exit 1 || return 1
fi
# Error checking
@ -339,3 +339,5 @@ if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" != "0" ]; then
echo "AOSP_BITS_INC: $AOSP_BITS_INC"
fi
fi
[ "$0" = "$BASH_SOURCE" ] && exit 0 || return 0

View File

@ -128,3 +128,5 @@ if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" -ne 0 ]; then
echo "ARM_EMBEDDED_FLAGS: $ARM_EMBEDDED_FLAGS"
echo "ARM_EMBEDDED_SYSROOT: $ARM_EMBEDDED_SYSROOT"
fi
[ "$0" = "$BASH_SOURCE" ] && exit 0 || return 0