Permalink
Browse files

Merge pull request #184 from potatosalad/master

Fix local variable error for --deb-pre-depends
  • Loading branch information...
jordansissel committed Mar 23, 2012
2 parents 2894b3d + e0fcf47 commit 0d82f2ad7b8025c9716cdd0cd1c0887f5c9c3ae1
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fpm/package/deb.rb
View
@@ -25,7 +25,7 @@ class FPM::Package::Deb < FPM::Package
"version of a package but any iteration is permitted"
option "--pre-depends", "DEPENDENCY",
- "Add DEPENDENCY as a Pre-Depends" do |val|
+ "Add DEPENDENCY as a Pre-Depends" do |dep|
@pre_depends ||= []
@pre_depends << dep
end

0 comments on commit 0d82f2a

Please sign in to comment.