summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2011-02-06 20:34:07 +0000
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2011-02-06 20:34:07 +0000
commit1b766f7cf922d99ace7f33a8cfc4d0c9df1af427 (patch)
treef183ac9dd66b09f6c85bbb51a17ec1a0b1cf1cd0 /tools
parenta6a06e1ebcdd42b13b07f9c341f387a2abac9783 (diff)
parent61848e4fbe8319229670c36b1315c0a879898361 (diff)
downloadvendor_replicant-1b766f7cf922d99ace7f33a8cfc4d0c9df1af427.zip
vendor_replicant-1b766f7cf922d99ace7f33a8cfc4d0c9df1af427.tar.gz
vendor_replicant-1b766f7cf922d99ace7f33a8cfc4d0c9df1af427.tar.bz2
Merge "Enable the creation of a debug bacon" into gingerbread
Diffstat (limited to 'tools')
-rwxr-xr-xtools/squisher6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/squisher b/tools/squisher
index d59b4bc..3e7b058 100755
--- a/tools/squisher
+++ b/tools/squisher
@@ -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