Permalink
Browse files

- fix method signatures

  • Loading branch information...
1 parent 05278bb commit 5533649b0ae78c4371f53e4cae4d6ff29d006058 @jordansissel committed Jan 20, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/fpm/source/gem.rb
  2. +1 −1 lib/fpm/source/rpm.rb
View
@@ -74,7 +74,7 @@ def get_metadata
end # File.open (the gem)
end # def get_metadata
- def make_tarball!(tar_path)
+ def make_tarball!(tar_path, builddir)
tmpdir = "#{tar_path}.dir"
installdir = "#{tmpdir}/#{::Gem::dir}"
::FileUtils.mkdir_p(installdir)
View
@@ -16,7 +16,7 @@ def get_metadata
end
- def make_tarball!(tar_path)
+ def make_tarball!(tar_path, builddir)
tmpdir = "#{tar_path}.dir"
::Dir.mkdir(tmpdir)
system("rpm2cpio #{@rpm} | (cd #{tmpdir}; cpio -i --make-directories)")

0 comments on commit 5533649

Please sign in to comment.