From cf41b12ae1b7ad624ed314e93d2f24b079c31eb8 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Wed, 21 May 2025 14:59:19 -0300 Subject: [PATCH] :boom: fix(update-repo.sh): wrong usage of regEx in `Update_remote()` fixes wrong behavior when accepting the "push changes" prompt --- update-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-repo.sh b/update-repo.sh index e99856d..093ef74 100644 --- a/update-repo.sh +++ b/update-repo.sh @@ -81,7 +81,7 @@ Update_remote() { echo -n "Done! Do you want to push? If not, you'll go back to file selection [y/n] " read push_changes - if [[ $push_changes =~ "^y" ]]; then + if [[ $push_changes =~ ^y(es) ]]; then git push echo "Done pushing!!" else