summaryrefslogtreecommitdiff
path: root/lib/rake/packagetask.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/packagetask.rb')
-rw-r--r--lib/rake/packagetask.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rake/packagetask.rb b/lib/rake/packagetask.rb
index 71b66a64811..4b0775d09c4 100644
--- a/lib/rake/packagetask.rb
+++ b/lib/rake/packagetask.rb
@@ -122,6 +122,7 @@ module Rake
task :package => ["#{package_dir}/#{file}"]
file "#{package_dir}/#{file}" => [package_dir_path] + package_files do
chdir(package_dir) do
+ sh %{env}
sh %{#{@tar_command} #{flag}cvf #{file} #{package_name}}
end
end