From c1964a6b507778e70f5eed9d4a1dc1196b8f4469 Mon Sep 17 00:00:00 2001
From: David Tolnay <dtolnay@gmail.com>
Date: Sat, 9 Oct 2021 06:04:03 +0100
Subject: [PATCH] Clean up bash variable naming

---
 action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/action.yml b/action.yml
index 82f969a..3ad5183 100644
--- a/action.yml
+++ b/action.yml
@@ -24,7 +24,7 @@ runs:
     - id: flags
       run: |
         : construct rustup command line
-        echo "::set-output name=targets::$(for c in ${targets//,/ }; do echo -n ' --target' $c; done)"
+        echo "::set-output name=targets::$(for t in ${targets//,/ }; do echo -n ' --target' $t; done)"
         echo "::set-output name=components::$(for c in ${components//,/ }; do echo -n ' --component' $c; done)"
       env:
         targets: ${{inputs.target}}