diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-26 06:00:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-26 06:00:09 +0000 |
commit | 34dc3b983b69c0fd3d8e26516c571f707ee6cbd4 (patch) | |
tree | d45dd0e3f01e40be2afe390f1e9bb4c1024de779 /tool | |
parent | bf9d849b2394c5b1d21fdebb1bf7f87cd4849d5e (diff) | |
download | ruby-34dc3b983b69c0fd3d8e26516c571f707ee6cbd4.tar.gz |
make-snapshot: remove -j option from GNUMAKEFLAGS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 5 |
1 files changed, 5 insertions, 0 deletions
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") |