From ce7275efb97b14b8f986fa78b87d88286dc0def1 Mon Sep 17 00:00:00 2001 From: Caspian Ahlberg Date: Mon, 12 Aug 2024 16:56:57 -0700 Subject: [PATCH] Fix a syntax error in the install script --- scripts/upgrade_plugin_in_all_repos.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade_plugin_in_all_repos.sh b/scripts/upgrade_plugin_in_all_repos.sh index 9b20588..2538dc9 100755 --- a/scripts/upgrade_plugin_in_all_repos.sh +++ b/scripts/upgrade_plugin_in_all_repos.sh @@ -103,6 +103,8 @@ upgrade_repo() { fi echo "$upgrade_output" + + last_directory="$directory" done if [[ $all_upgrades_skipped = true ]]; then @@ -114,7 +116,7 @@ upgrade_repo() { ########## orig_dir="$PWD" - cd "$first_directory" + cd "$last_directory" version=$(get_eslint_plugin_version) cd "$orig_dir"