ruby-changes:50151
From: nobu <ko1@a...>
Date: Wed, 7 Feb 2018 08:40:25 +0900 (JST)
Subject: [ruby-changes:50151] nobu:r62269 (trunk): common.mk: can't rescue NotImplementedError by default
nobu 2018-02-07 08:40:20 +0900 (Wed, 07 Feb 2018) New Revision: 62269 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62269 Log: common.mk: can't rescue NotImplementedError by default Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 62268) +++ common.mk (revision 62269) @@ -213,8 +213,9 @@ $(MJIT_MIN_HEADER:.h=)$(MJIT_HEADER_SUFF https://github.com/ruby/ruby/blob/trunk/common.mk#L213 $(Q) $(MINIRUBY) -rfileutils -e "include FileUtils::Verbose" \ -e "src, dest = ARGV" \ -e "exit if File.identical?(src, dest) or cmp(src, dest) rescue nil" \ - -e "ln_sf('../'*dest.count('/')+src, dest) rescue" \ - -e "ln(src, dest) rescue" \ + -e "def noraise; yield; rescue; rescue NotImplementedError; end" \ + -e "noraise {ln_sf('../'*dest.count('/')+src, dest)} or" \ + -e "noraise {ln(src, dest)} or" \ -e "cp(src, dest)" \ $@ $(MJIT_HEADER_INSTALL_DIR)/$(@F) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/