]> git.pld-linux.org Git - packages/rpm.git/blobdiff - gem_helper.rb
Release: 29
[packages/rpm.git] / gem_helper.rb
index feea121af50c028beb44336ad71689f2de5fc1d3..2a6bfab756df3a3b22239786c685aaf9899ae2dc 100755 (executable)
@@ -63,7 +63,7 @@ if ARGV[0] == "build" or ARGV[0] == "install" or ARGV[0] == "spec"
   body = {}
   # I don't know any better.. :/
   header.instance_variables.each do |iv|
-         body[iv.to_s.gsub(/^@/,'')] = header.instance_variable_get(iv)
+         body[iv.to_s.sub(/^@/,'')] = header.instance_variable_get(iv)
   end
 
   spec = Gem::Specification.from_yaml(YAML.dump(header))
This page took 0.059539 seconds and 4 git commands to generate.