[前][次][番号順一覧][スレッド一覧]

ruby-changes:57072

From: Nobuyoshi <ko1@a...>
Date: Fri, 16 Aug 2019 10:30:40 +0900 (JST)
Subject: [ruby-changes:57072] Nobuyoshi Nakada: 64bffddda1 (master): exit accepts true and false [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=64bffddda1

From 64bffddda1d57072a7879dfab9e5bc0286c1395d Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 16 Aug 2019 02:08:40 +0900
Subject: exit accepts true and false [ci skip]


diff --git a/defs/gmake.mk b/defs/gmake.mk
index d234791..c76c254 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -202,7 +202,7 @@ update-github: fetch-github https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L202
 	$(eval GITHUB_UPDATE_WORKTREE := $(shell mktemp -d "$(srcdir)/gh-$(PR)-XXXXXX"))
 	git -C "$(srcdir)" worktree add $(notdir $(GITHUB_UPDATE_WORKTREE)) "gh-$(PR)"
 	git -C "$(GITHUB_UPDATE_WORKTREE)" merge master --no-edit
-	@$(BASERUBY) -e 'print "Are you sure to push this to PR=$(PR)? [Y/n]: "; exit(gets.chomp == "n" ? 1 : 0)'
+	@$(BASERUBY) -e 'print "Are you sure to push this to PR=$(PR)? [Y/n]: "; exit(gets.chomp != "n")'
 	git -C "$(srcdir)" remote add fork-$(PR) git@g...:$(FORK_REPO).git
 	git -C "$(GITHUB_UPDATE_WORKTREE)" push fork-$(PR) gh-$(PR):$(PR_BRANCH)
 	git -C "$(srcdir)" remote rm fork-$(PR)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]