1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed a typo

This commit is contained in:
Nobuyoshi Nakada 2019-05-08 16:59:37 +09:00
parent c54d5872fb
commit 29fcb37a83
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -158,7 +158,7 @@ GITHUB_RUBY_URL = https://github.com/ruby/ruby
PR =
COMMIT_GPG_SIGN = $(shell git -C "$(srcdir)" config commit.gpgsign)
REMOTE_GUTHUB_URL = $(shell git -C "$(srcdir)" config remote.github.url)
REMOTE_GITHUB_URL = $(shell git -C "$(srcdir)" config remote.github.url)
.PHONY: fetch-github
fetch-github:
@ -169,11 +169,11 @@ define fetch-github
echo "usage:"; echo " make $@ PR=1234"; \
exit 1; \
)
$(eval REMOTE_GUTHUB_URL := $(REMOTE_GUTHUB_URL))
$(if $(REMOTE_GUTHUB_URL),, \
$(eval REMOTE_GITHUB_URL := $(REMOTE_GITHUB_URL))
$(if $(REMOTE_GITHUB_URL),, \
echo adding $(GITHUB_RUBY_URL) as remote github; \
git -C "$(srcdir)" remote add github $(GITHUB_RUBY_URL); \
$(eval REMOTE_GUTHUB_URL := $(GITHUB_RUBY_URL)) \
$(eval REMOTE_GITHUB_URL := $(GITHUB_RUBY_URL)) \
)
git -C "$(srcdir)" fetch -f github "pull/$(1)/head:gh-$(1)"
endef