Builder#assemble! doesn't actually take any params

This commit is contained in:
Jeanine Adkisson 2011-01-05 18:28:32 -08:00
parent 8ef454a330
commit da0c9963b6
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ class FPM::Builder
@tar_path ||= "#{builddir}/data.tar"
end
def assemble!(params={})
# Assemble the package
def assemble!
output.gsub!(/VERSION/, "#{@source[:version]}-#{@source[:iteration]}")
output.gsub!(/ARCH/, @package.architecture)