lib/gjp/archiver.rb in gjp-0.14.1 vs lib/gjp/archiver.rb in gjp-0.15.7

- old
+ new

@@ -25,15 +25,15 @@ Pathname.new(destination_file).relative_path_from Pathname.new(@project.full_path) end # generates an archive for a project's source package based on # its file list - def archive_src(name) + def archive_package(name) list_file = File.join(@project.full_path, "file_lists/#{name}_input") if not File.exist? list_file return nil end - destination_file = File.join(@project.full_path, "archives/#{@project.name}-#{name}.tar.xz") + destination_file = File.join(@project.full_path, "archives/#{name}.tar.xz") @project.from_directory File.join("src", name) do archive list_file, destination_file end