Permalink
Browse files

fix how Rakefile bundles cookbooks

  • Loading branch information...
xdg committed Apr 18, 2012
1 parent ea9e163 commit ee3921e2b2eb024388601a5c7b2ec8e7e9379e8f
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -59,7 +59,7 @@ task :bundle_cookbook, :cookbook do |t, args|
FileUtils.cp_r(file_path, temp_cookbook_dir) if File.directory?(file_path)
end
- system("tar", "-C", temp_dir, "-cvzf", File.join(tarball_dir, tarball_name), "./#{args.cookbook}")
+ system("tar", "-C", temp_dir, "-cvzf", File.join(tarball_dir, tarball_name), "#{args.cookbook}")
FileUtils.rm_rf temp_dir
end

0 comments on commit ee3921e

Please sign in to comment.