💥 fix(update-repo.sh): wrong usage of regEx in Update_remote()
fixes wrong behavior when accepting the "push changes" prompt
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user