Skip to content

Commit b679fa3

Browse files
authored
Fixed repository validation for custom git repository.
1 parent a1a25a7 commit b679fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/commands/advanced/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Command() {
6666
PRINT FATAL "Expected a git branch at argument 3, was empty. Exiting.."
6767
cleanup 1
6868
fi
69-
if [[ $remote_branch != *.git ]]; then
69+
if [[ $remote_repo != *.git ]]; then
7070
PRINT FATAL "Expected a git repository at argument 2, was invalid. (Did you forget to prepend your argument with .git?) Exiting.."
7171
cleanup 1
7272
fi

0 commit comments

Comments
 (0)