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

@ -207,8 +207,8 @@ fi
# Error checking # Error checking
if [ ! -e "$AOSP_TOOLCHAIN_PATH/$RANLIB" ]; then if [ ! -e "$AOSP_TOOLCHAIN_PATH/$RANLIB" ]; then
echo "ERROR: Failed to find Android ranlib. Please edit this script." echo "ERROR: Failed to find Android ranlib. Please edit this script."
# exit 1 [ "$0" = "$BASH_SOURCE" ] && exit 1 || return 1
fi fi
# Error checking # Error checking
@ -219,8 +219,8 @@ fi
# Error checking # Error checking
if [ ! -e "$AOSP_TOOLCHAIN_PATH/$AS" ]; then if [ ! -e "$AOSP_TOOLCHAIN_PATH/$AS" ]; then
echo "ERROR: Failed to find Android as. Please edit this script." echo "ERROR: Failed to find Android as. Please edit this script."
# exit 1 [ "$0" = "$BASH_SOURCE" ] && exit 1 || return 1
fi fi
# Error checking # Error checking
@ -339,3 +339,5 @@ if [ ! -z "$VERBOSE" ] && [ "$VERBOSE" != "0" ]; then
echo "AOSP_BITS_INC: $AOSP_BITS_INC" echo "AOSP_BITS_INC: $AOSP_BITS_INC"
fi fi
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_FLAGS: $ARM_EMBEDDED_FLAGS"
echo "ARM_EMBEDDED_SYSROOT: $ARM_EMBEDDED_SYSROOT" echo "ARM_EMBEDDED_SYSROOT: $ARM_EMBEDDED_SYSROOT"
fi fi
[ "$0" = "$BASH_SOURCE" ] && exit 0 || return 0