1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 23:38:06 +02:00

Fix problem with prompt, actually read into var

This commit is contained in:
Shane Kilkelly 2020-07-14 13:54:20 +01:00
parent 5db11aa4c3
commit 3bed418a9e

View file

@ -108,7 +108,7 @@ function handle_git_update() {
echo "Code update available! (current commit is $current_commit)"
should_pull="n"
read -r -p "Procced to pull update? [y/n] "
read -r -p "Procced to pull update? [y/n] " should_pull
if [[ ! "$should_pull" =~ [Yy] ]]; then
echo "continuing without pulling update"