Skip to content

Commit

Permalink
Merge pull request #16 from jblaine/master
Browse files Browse the repository at this point in the history
CHEF-4500 Don't prefix tar contents with ./ - it breaks upload to comm. ...
  • Loading branch information
btm committed Aug 28, 2013
2 parents 2c42c6a + a409eeb commit 55e7d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 55e7d92

Please sign in to comment.