diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 9518ab7..2eacdf2 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -61,10 +61,10 @@ check_update() { dialog --backtitle "Linux Game manager" \ --yesno "Updates are available. Would you like to update now?" -1 -1 --stdout || return # Store the current commit before pulling - local before_pull=$(git rev-parse HEAD) + local beforePull=$(git rev-parse HEAD) git pull # Show changes between the stored commit and current HEAD - git log "$before_pull..HEAD" --pretty=format:'%an: %s' + git log "$beforePull..HEAD" --pretty=format:'%an: %s' | tac exit $? }