make-rubygem-debs 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- 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
|