diff options
author | Ying Wang <wangying@google.com> | 2014-10-08 16:38:40 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-10-08 16:38:40 +0000 |
commit | cc9e30ef3545b55c0ae1c5847fc56464aa2672f2 (patch) | |
tree | c2444df2d072527db18c86bef2e405ed04d0b801 /tools | |
parent | 4f9438ba155a27a71ba18f48357f1bfc06078438 (diff) | |
parent | 1a856098ea819a75ad904ff6d6dcfac9545a02a6 (diff) | |
download | build-cc9e30ef3545b55c0ae1c5847fc56464aa2672f2.zip build-cc9e30ef3545b55c0ae1c5847fc56464aa2672f2.tar.gz build-cc9e30ef3545b55c0ae1c5847fc56464aa2672f2.tar.bz2 |
am 1a856098: Merge "Export build thumbprint only if the product has specified at least one oem fingerprint property" into lmp-dev
* commit '1a856098ea819a75ad904ff6d6dcfac9545a02a6':
Export build thumbprint only if the product has specified at least one oem fingerprint property
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/buildinfo.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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" |