diff --git a/scripts/commands/advanced/upgrade.sh b/scripts/commands/advanced/upgrade.sh index 19ad0c9c..7af1f074 100644 --- a/scripts/commands/advanced/upgrade.sh +++ b/scripts/commands/advanced/upgrade.sh @@ -66,7 +66,7 @@ Command() { PRINT FATAL "Expected a git branch at argument 3, was empty. Exiting.." cleanup 1 fi - if [[ $remote_branch != *.git ]]; then + if [[ $remote_repo != *.git ]]; then PRINT FATAL "Expected a git repository at argument 2, was invalid. (Did you forget to prepend your argument with .git?) Exiting.." cleanup 1 fi