make-rubygem-debs 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/make-rubygem-debs.rb +3 -2
- metadata +1 -1
data/lib/make-rubygem-debs.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
# Copyright (c) 2012, Christopher Mark Gore,
|
1
|
+
# Copyright (c) 2012-2013, Christopher Mark Gore,
|
2
|
+
# Soli Deo Gloria,
|
2
3
|
# All rights reserved.
|
3
4
|
#
|
4
5
|
# 8729 Lower Marine Road, Saint Jacob, Illinois 62281 USA.
|
@@ -64,7 +65,7 @@ module MakeRubygemDebs
|
|
64
65
|
`fpm -s gem -t deb -v #{version} #{name}`
|
65
66
|
deb_name = "rubygem-" + name.gsub("_", "-")
|
66
67
|
deb_file = "#{deb_name}_#{version}"
|
67
|
-
deb = Dir.entries(
|
68
|
+
deb = Dir.entries('.').select {|file| file.match deb_file}
|
68
69
|
if not deb.empty?
|
69
70
|
puts "Successfully created #{deb[0]}."
|
70
71
|
else
|