Merge "Enable the creation of a debug bacon" into gingerbread

This commit is contained in:
Steve Kondik 2011-02-06 20:34:07 +00:00 committed by Gerrit Code Review
commit 1b766f7cf9

View File

@ -23,7 +23,11 @@ if [ -z "$OUT" -o ! -d "$OUT" ]; then
exit 1 exit 1
fi fi
OTAPACKAGE=$OUT/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip if [ "$TARGET_BUILD_TYPE" = "debug" ]; then
OTAPACKAGE=$OUT/${TARGET_PRODUCT}_debug-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip
else
OTAPACKAGE=$OUT/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip
fi
if [ ! -f "$OTAPACKAGE" ]; then if [ ! -f "$OTAPACKAGE" ]; then
echo "$OTAPACKAGE doesn't exist!"; echo "$OTAPACKAGE doesn't exist!";
exit 1 exit 1