From 29b8b66f5508d7bdb36997606a2a47b32eb26815 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Fri, 15 Jul 2011 23:47:00 -0700 Subject: [PATCH] debian control.tar.gz contents use ./ prefix --- lib/fpm/target/deb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fpm/target/deb.rb b/lib/fpm/target/deb.rb index 240e34c822..145d95c2ae 100644 --- a/lib/fpm/target/deb.rb +++ b/lib/fpm/target/deb.rb @@ -87,7 +87,7 @@ def build!(params) end # Make the control - system("tar -zcf control.tar.gz #{control_files.join(" ")}") + system("tar -zcf control.tar.gz #{control_files.map{ |f| "./#{f}" }.join(" ")}") # create debian-binary File.open("debian-binary", "w") { |f| f.puts "2.0" }