Allow buildtype user
The tools scripts did not handle buildtype user correctly.
Change-Id: Ie4f98dbab7e97a8244ee1d9b4d995673e0aac930
diff --git a/tools/squisher b/tools/squisher
index 250a248..ce94537 100755
--- a/tools/squisher
+++ b/tools/squisher
@@ -27,6 +27,8 @@
OTAPACKAGE=$OUT/${TARGET_PRODUCT}_debug-ota-$TARGET_BUILD_VARIANT.$USER.zip
elif [ "$TARGET_BUILD_VARIANT" = "userdebug" ]; then
OTAPACKAGE=$OUT/$TARGET_PRODUCT-ota-eng.$USER.zip
+elif [ "$TARGET_BUILD_VARIANT" = "user" ]; then
+ OTAPACKAGE=$OUT/$TARGET_PRODUCT-ota-eng.$USER.zip
else
OTAPACKAGE=$OUT/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$USER.zip
fi