💥 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] "
|
echo -n "Done! Do you want to push? If not, you'll go back to file selection [y/n] "
|
||||||
read push_changes
|
read push_changes
|
||||||
|
|
||||||
if [[ $push_changes =~ "^y" ]]; then
|
if [[ $push_changes =~ ^y(es) ]]; then
|
||||||
git push
|
git push
|
||||||
echo "Done pushing!!"
|
echo "Done pushing!!"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user