Skip to content

Commit

Permalink
Make the namespacing used for --deb-changelog consistent with other
Browse files Browse the repository at this point in the history
fields - fixes jordansissel#543
  • Loading branch information
Tray Torrance authored and Chris Gerber committed Feb 27, 2014
1 parent addb626 commit f3ed6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/deb.rb
Expand Up @@ -356,7 +356,7 @@ def output(output_path)
end

if attributes[:deb_changelog]
dest_changelog = File.join(staging_path, "usr/share/doc/#{attributes[:name]}/changelog.Debian")
dest_changelog = File.join(staging_path, "usr/share/doc/#{name}/changelog.Debian")
FileUtils.mkdir_p(File.dirname(dest_changelog))
FileUtils.cp attributes[:deb_changelog], dest_changelog
File.chmod(0644, dest_changelog)
Expand Down

0 comments on commit f3ed6e9

Please sign in to comment.