Check-in [27c9d5d259]
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Builder#assemble! doesn't actually take any params |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
27c9d5d2593512be8c4d765100210bff |
| User & Date: | jjmadkisson@gmail.com 2011-01-06 02:28:32 |
Context
|
2011-01-06
| ||
| 02:29 | be more energetic with method naming, and use symbols check-in: 1aeeb83f0c user: jjmadkisson@gmail.com tags: trunk | |
| 02:28 | Builder#assemble! doesn't actually take any params check-in: 27c9d5d259 user: jjmadkisson@gmail.com tags: trunk | |
| 02:27 | the checksum method is now owned by builder check-in: 09107637a1 user: jjmadkisson@gmail.com tags: trunk | |
Changes
Changes to lib/fpm/builder.rb.
| ︙ | ︙ | |||
47 48 49 50 51 52 53 |
end
end # def initialize
def tar_path
@tar_path ||= "#{builddir}/data.tar"
end
| > | | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
end
end # def initialize
def tar_path
@tar_path ||= "#{builddir}/data.tar"
end
# Assemble the package
def assemble!
output.gsub!(/VERSION/, "#{@source[:version]}-#{@source[:iteration]}")
output.gsub!(/ARCH/, @package.architecture)
File.delete(output) if File.exists?(output)
make_builddir!
|
| ︙ | ︙ |