ruby-changes:57071
From: Nobuyoshi <ko1@a...>
Date: Fri, 16 Aug 2019 10:30:40 +0900 (JST)
Subject: [ruby-changes:57071] Nobuyoshi Nakada: 12074ad01c (master): Use GNU make built-in funtion [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=12074ad01c From 12074ad01c02b4a6912fff64d69b659351bdf9e8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 16 Aug 2019 02:08:02 +0900 Subject: Use GNU make built-in funtion [ci skip] diff --git a/defs/gmake.mk b/defs/gmake.mk index baea0dc..d234791 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -196,8 +196,8 @@ update-github: fetch-github https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L196 curl -s $(if $(GITHUB_TOKEN),-H "Authorization: bearer $(GITHUB_TOKEN)") $(PULL_REQUEST_API) | \ $(BASERUBY) -rjson -e 'JSON.parse(STDIN.read)["head"].tap { |h| print "#{h["repo"]["full_name"]} #{h["ref"]}" }' \ )) - $(eval FORK_REPO := $(shell echo $(PULL_REQUEST_FORK_BRANCH) | cut -d' ' -f1)) - $(eval PR_BRANCH := $(shell echo $(PULL_REQUEST_FORK_BRANCH) | cut -d' ' -f2)) + $(eval FORK_REPO := $(word 1,$(PULL_REQUEST_FORK_BRANCH))) + $(eval PR_BRANCH := $(word 2,$(PULL_REQUEST_FORK_BRANCH))) $(eval GITHUB_UPDATE_WORKTREE := $(shell mktemp -d "$(srcdir)/gh-$(PR)-XXXXXX")) git -C "$(srcdir)" worktree add $(notdir $(GITHUB_UPDATE_WORKTREE)) "gh-$(PR)" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/