Skip to content

Commit

Permalink
Expand the postinst / prerm paths so relative paths can be used.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshado committed May 1, 2011
1 parent bc425d6 commit d31b965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/fpm
Expand Up @@ -88,11 +88,11 @@ def main(args)
end # -x / --exclude

opts.on("--postinst POSTINST") do |postinst|
settings.postinst = postinst
settings.postinst = File.expand_path(postinst)
end # --postinst

opts.on("--prerm PRERM") do |prerm|
settings.prerm = prerm
settings.prerm = File.expand_path(prerm)
end #--prerm

end # OptionParser
Expand Down

0 comments on commit d31b965

Please sign in to comment.