summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2022-10-06 11:59:19 -0700
committerXin Li <delphij@google.com>2022-10-06 11:59:19 -0700
commit4bed340f48cc1f455ff5e8e68a8818d6b3428b85 (patch)
treec63e0b4f0ad10410bb2e02e9a41ae8a0c7c3a1b6
parent401b2ec1bf5b2d4ddd7dc96ff7fdb1138f411465 (diff)
parenta9757e7e42dcdc40776b9961ec092095ad96e973 (diff)
downloadcommon-4bed340f48cc1f455ff5e8e68a8818d6b3428b85.tar.gz
Merge tm-qpr-dev-plus-aosp-without-vendor@9129937
Bug: 248070379 Merged-In: I1a650df14a3fe49914025a02c70ee9728f32fb69 Change-Id: I9af0fb4012f7f563b34441cef697b708374f080b
-rw-r--r--generate-factory-images-common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/generate-factory-images-common.sh b/generate-factory-images-common.sh
index 95f4e35..9a6f5ad 100644
--- a/generate-factory-images-common.sh
+++ b/generate-factory-images-common.sh
@@ -101,7 +101,7 @@ cat > tmp/$PRODUCT-$VERSION/flash-all.sh << EOF
# See the License for the specific language governing permissions and
# limitations under the License.
-if ! [ \$(\$(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/\.//g' ) -ge 3103 ]; then
+if ! [ \$(\$(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/\.//g' ) -ge 3301 ]; then
echo "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html"
exit 1
fi
@@ -258,7 +258,7 @@ cat > tmp/$PRODUCT-$VERSION/flash-base.sh << EOF
# See the License for the specific language governing permissions and
# limitations under the License.
-if ! [ \$(\$(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/\.//g' ) -ge 3103 ]; then
+if ! [ \$(\$(which fastboot) --version | grep "version" | cut -c18-23 | sed 's/\.//g' ) -ge 3301 ]; then
echo "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html"
exit 1
fi