summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Muntsinger <muntsinger@google.com>2019-11-19 17:23:37 -0800
committerTristan Muntsinger <muntsinger@google.com>2019-11-19 17:26:06 -0800
commit9b8c88fe9ee2a756219bb3418de46b933462e369 (patch)
tree6c0bf1abdb1b1c7475c0f1a7599ece4c34064e95
parent19c66eed025eea00f9a1b3d1a2156b44e92a5794 (diff)
downloadcuttlefish_common-9b8c88fe9ee2a756219bb3418de46b933462e369.tar.gz
Change "SHA" to title case in manifest generator
This is to align the variable name with the same name used in the tftp script used within U-Boot to perform the DFU. Bug: 144182574 Test: local run Change-Id: I7e75f50dba163b785f1ad3adefb9f6704d8f6a0f
-rwxr-xr-xtools/make_manifest.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/make_manifest.sh b/tools/make_manifest.sh
index 3babc338..5b07d5d6 100755
--- a/tools/make_manifest.sh
+++ b/tools/make_manifest.sh
@@ -69,19 +69,19 @@ addKVToManifest() {
echo "${key}=${value}" >> manifest.txt
}
-addSHAToManifest() {
- key="SHA"
+addShaToManifest() {
+ key="Sha"
cd "${ANDROID_BUILD_TOP}/device/google/cuttlefish_common"
- SHA=`git rev-parse HEAD`
+ Sha=`git rev-parse HEAD`
cd -
cd "${ANDROID_BUILD_TOP}/external/u-boot"
- SHA="$SHA,`git rev-parse HEAD`"
+ Sha="$Sha,`git rev-parse HEAD`"
cd -
cd "${ANDROID_BUILD_TOP}/external/arm-trusted-firmware"
- SHA="$SHA,`git rev-parse HEAD`"
+ Sha="$Sha,`git rev-parse HEAD`"
cd -
- addKVToManifest "${key}" "${SHA}"
+ addKVToManifest "${key}" "${Sha}"
}
addPathToManifest() {
@@ -116,4 +116,4 @@ addPathToManifest RootfsImg ${FLAGS_rootfs}
addPathToManifest UbootEnv ${FLAGS_env}
addPathToManifest TplSplImg ${FLAGS_loader1}
addPathToManifest UbootItb ${FLAGS_loader2}
-addSHAToManifest
+addShaToManifest