summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rake/extensiontask.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rake/extensiontask.rb b/lib/rake/extensiontask.rb
index 38f7319..56cf9aa 100644
--- a/lib/rake/extensiontask.rb
+++ b/lib/rake/extensiontask.rb
@@ -283,12 +283,12 @@ Java extension should be preferred.
callback.call(spec) if callback
# Generate a package for this gem
- pkg = Gem::PackageTask.new(spec) do |pkg|
- pkg.need_zip = false
- pkg.need_tar = false
+ pkg = Gem::PackageTask.new(spec) do |p|
+ p.need_zip = false
+ p.need_tar = false
# Do not copy any files per PackageTask, because
# we need the files from the staging directory
- pkg.package_files.clear
+ p.package_files.clear
end
# copy other gem files to staging directory if added by the callback