From b3e750cb86431ff4257ac2c41f76c75e9f6fcc5f Mon Sep 17 00:00:00 2001 From: icenine451 Date: Thu, 13 Apr 2023 15:02:55 -0400 Subject: [PATCH] While loop troubleshooting --- automation_tools/update_sha.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/automation_tools/update_sha.sh b/automation_tools/update_sha.sh index c8d9569b..dde066fa 100644 --- a/automation_tools/update_sha.sh +++ b/automation_tools/update_sha.sh @@ -5,6 +5,7 @@ rd_manifest=${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml sha_update_list=${GITHUB_WORKSPACE}/automation_tools/sha_update_list.cfg +counter=5 echo "Manifest location: $rd_manifest" echo "Hash update list location: $sha_update_list" @@ -13,6 +14,12 @@ echo "Update list contents:" cat "$sha_update_list" echo +while [ $counter -gt 0 ] +do + echo $counter + counter=$(( $counter - 1 )) +done + while IFS="^" read -r url placeholder do echo