Skip to content

Commit

Permalink
Merge pull request jordansissel#184 from potatosalad/master
Browse files Browse the repository at this point in the history
Fix local variable error for --deb-pre-depends
  • Loading branch information
jordansissel committed Mar 23, 2012
2 parents 2894b3d + e0fcf47 commit 0d82f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/deb.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class FPM::Package::Deb < FPM::Package
"version of a package but any iteration is permitted" "version of a package but any iteration is permitted"


option "--pre-depends", "DEPENDENCY", option "--pre-depends", "DEPENDENCY",
"Add DEPENDENCY as a Pre-Depends" do |val| "Add DEPENDENCY as a Pre-Depends" do |dep|
@pre_depends ||= [] @pre_depends ||= []
@pre_depends << dep @pre_depends << dep
end end
Expand Down

0 comments on commit 0d82f2a

Please sign in to comment.