From e24e17a976025de11c010280575281d0705c7d2e Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Tue, 7 Oct 2014 18:42:11 -0700 Subject: Export build thumbprint only if the product has specified at least one oem fingerprint property Bug: 17888863 Change-Id: I4d12bc977dcb5e8e1858efb2a395466d8779de34 --- tools/buildinfo.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/buildinfo.sh b/tools/buildinfo.sh index 593e5b5..ed6bd87 100755 --- a/tools/buildinfo.sh +++ b/tools/buildinfo.sh @@ -50,7 +50,9 @@ echo "ro.build.product=$TARGET_DEVICE" echo "# Do not try to parse description, fingerprint, or thumbprint" echo "ro.build.description=$PRIVATE_BUILD_DESC" echo "ro.build.fingerprint=$BUILD_FINGERPRINT" -echo "ro.build.thumbprint=$BUILD_THUMBPRINT" +if [ -n "$BUILD_THUMBPRINT" ] ; then + echo "ro.build.thumbprint=$BUILD_THUMBPRINT" +fi echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS" echo "# end build properties" -- cgit v1.1