Merge "Enable the creation of a debug bacon" into gingerbread
This commit is contained in:
commit
1b766f7cf9
@ -23,7 +23,11 @@ if [ -z "$OUT" -o ! -d "$OUT" ]; then
|
||||
exit 1
|
||||
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
|
||||
echo "$OTAPACKAGE doesn't exist!";
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user