aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rake/packagetask.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-09 07:49:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-09 07:49:14 +0000
commit700a2b2350ce22ffd060be811f0258875425b592 (patch)
treeb55b0e3a12a9e250e7074211d63277b01e3a04ec /lib/rake/packagetask.rb
parente09da0d0924ed046f10129536fe2512966123ddf (diff)
downloadruby-700a2b2350ce22ffd060be811f0258875425b592.tar.gz
* lib/rake: updated to rake code to rake-0.8.4 source code base.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 75bf41c457..de14fc77d8 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