From 141d794f00981e2dbceba7773a18e823576f818f Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 9 Jan 2018 06:55:54 +0000 Subject: [PATCH] update-deps: strip -j option * update-deps: strip -j option from ENV['GNUMAKEFLAGS'], not dirstack to get confused by intermingled entering/leaveing directory messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/update-deps | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tool/update-deps b/tool/update-deps index c308f35195..ccfc160e42 100755 --- a/tool/update-deps +++ b/tool/update-deps @@ -238,6 +238,10 @@ DEPENDENCIES_SECTION_END_MARK = "\# AUTOGENERATED DEPENDENCIES END\n" def init_global ENV['LC_ALL'] = 'C' + if mkflag = ENV['GNUMAKEFLAGS'] and mkflag.sub!(/(\A|\s+)-j\d*(?=\s+|\z)/, '') + mkflag.strip! + ENV['GNUMAKEFLAGS'] = mkflag + end $opt_fix = false $opt_a = false