Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix uninitialized constant errors

  • Loading branch information...
commit 890d44fb4f01aaee8b7a2a62e79d0734944ea326 1 parent 8db8810
@mblair authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/fpm/package/deb.rb
View
4 lib/fpm/package/deb.rb
@@ -209,7 +209,7 @@ def extract_files(package)
datatar = "data.tar.xz"
compression = "-J"
else
- raise InvalidPackageConfiguration,
+ raise FPM::InvalidPackageConfiguration,
"Unknown compression type '#{self.attributes[:deb_compression]}' "
"in deb source package #{package}"
end
@@ -240,7 +240,7 @@ def output(output_path)
datatar = build_path("data.tar.xz")
compression = "-J"
else
- raise InvalidPackageConfiguration,
+ raise FPM::InvalidPackageConfiguration,
"Unknown compression type '#{self.attributes[:deb_compression]}'"
end
safesystem(tar_cmd, "-C", staging_path, compression, "-cf", datatar, ".")
Please sign in to comment.
Something went wrong with that request. Please try again.