Commits

Xu Xiaodong committed 2190f11

small fix

  • Participants
  • Parent commits 7f86c08

Comments (0)

Files changed (1)

File create_gem_ebuild.rb

       lines << %Q{IUSE=""}
       lines.join("\n")
 
-      f = File.open("#{@name}-#{ver}.ebuild", 'w')
+      filename = "#{@name}-#{ver}.ebuild"
+      f = File.open(filename, 'w')
       f.puts lines
       f.close
 
-      system('ebuild', "#{@name}-#{ver}.ebuild", 'manifest')
+      system('ebuild', filename, 'manifest')
     end
   end
 end