]> git.pld-linux.org Git - packages/rpm.git/blob - rubyprov-archdirs.patch
- make sure that the output buffer gets truncated after use, otherwise
[packages/rpm.git] / rubyprov-archdirs.patch
1 --- rpm-5.4.10/scripts/rubygems.rb~     2013-04-26 00:28:59.955288629 +0300
2 +++ rpm-5.4.10/scripts/rubygems.rb      2013-04-26 00:43:35.122569376 +0300
3 @@ -51,10 +51,16 @@
4    elsif not ruby_versioned
5      if path.match(RbConfig::CONFIG["rubylibdir"])
6        ruby_versioned = true
7 +    elsif path.match(RbConfig::CONFIG["archdir"])
8 +      ruby_versioned = true
9      elsif path.match(RbConfig::CONFIG["sitelibdir"])
10        ruby_versioned = true
11 +    elsif path.match(RbConfig::CONFIG["sitearchdir"])
12 +      ruby_versioned = true
13      elsif path.match(RbConfig::CONFIG["vendorlibdir"])
14        ruby_versioned = true
15 +    elsif path.match(RbConfig::CONFIG["vendorarchdir"])
16 +      ruby_versioned = true
17      end
18    end
19  end
This page took 0.021196 seconds and 3 git commands to generate.