Enable the creation of a debug bacon

Change-Id: I509e279a6bf31fd9749ccc6eb2a71b4312d7e764
This commit is contained in:
David Kohen 2011-02-06 20:29:33 +02:00
parent f63e0a5828
commit 61848e4fbe

View File

@ -23,7 +23,11 @@ if [ -z "$OUT" -o ! -d "$OUT" ]; then
exit 1
fi
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
echo "$OTAPACKAGE doesn't exist!";
exit 1