From 34dc3b983b69c0fd3d8e26516c571f707ee6cbd4 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 26 Feb 2018 06:00:09 +0000 Subject: make-snapshot: remove -j option from GNUMAKEFLAGS git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/make-snapshot | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tool/make-snapshot') diff --git a/tool/make-snapshot b/tool/make-snapshot index 9dae143a20..198d7e6568 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -54,6 +54,11 @@ if gzip = ENV.delete("GZIP") PACKAGES["gzip"].concat(gzip.shellsplit) end +if mflags = ENV["GNUMAKEFLAGS"] and /\A-(\S*)j\d*/ =~ mflags + mflags = mflags.gsub(/(\A|\s)(-\S*)j\d*/, '\1\2') + mflags.strip! + ENV["GNUMAKEFLAGS"] = (mflags unless mflags.empty?) +end ENV["LC_ALL"] = ENV["LANG"] = "C" SVNURL = URI.parse("http://svn.ruby-lang.org/repos/ruby/") GITURL = URI.parse("git://github.com/ruby/ruby.git") -- cgit v1.2.3