Skip to content

Commit 43ba80b

Browse files
authored
Merge pull request #204 from aestheticdyn/fix/upgrade-sh-custom-git-repo
Fixed repository validation for custom git repository.
2 parents a1a25a7 + b679fa3 commit 43ba80b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)