summaryrefslogtreecommitdiffstats
path: root/lib/rake/packagetask.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/packagetask.rb')
-rw-r--r--lib/rake/packagetask.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rake/packagetask.rb b/lib/rake/packagetask.rb
index 75bf41c45..de14fc77d 100644
--- a/lib/rake/packagetask.rb
+++ b/lib/rake/packagetask.rb
@@ -42,7 +42,7 @@ module Rake
# end
#
class PackageTask < TaskLib
- # Name of the package.
+ # Name of the package (from the GEM Spec).
attr_accessor :name
# Version of the package (e.g. '1.3.2').
@@ -120,7 +120,6 @@ 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