make-rubygem-debs 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/make-rubygem-debs +12 -13
- metadata +1 -1
data/bin/make-rubygem-debs
CHANGED
@@ -56,18 +56,17 @@ It will create a 'rubygem-debs' sub-directory and make debs for each rubygem
|
|
56
56
|
dependency there for you. You can then do whatever you need to with them."
|
57
57
|
|
58
58
|
|
59
|
-
if __FILE__ == $PROGRAM_NAME
|
60
|
-
topdir = Dir.pwd
|
61
|
-
if not ARGV.empty?
|
62
|
-
if %w(-h --help -?).include? ARGV[0]
|
63
|
-
puts help_text
|
64
|
-
exit 0
|
65
|
-
elsif File.exist? ARGV[0] and File.ftype(ARGV[0]) == 'directory'
|
66
|
-
topdir = ARGV[0]
|
67
|
-
else
|
68
|
-
raise ArgumentError, "Not a directory: #{ARGV[0]}."
|
69
|
-
end
|
70
|
-
end
|
71
59
|
|
72
|
-
|
60
|
+
topdir = Dir.pwd
|
61
|
+
if not ARGV.empty?
|
62
|
+
if %w(-h --help -?).include? ARGV[0]
|
63
|
+
puts help_text
|
64
|
+
exit 0
|
65
|
+
elsif File.exist? ARGV[0] and File.ftype(ARGV[0]) == 'directory'
|
66
|
+
topdir = ARGV[0]
|
67
|
+
else
|
68
|
+
raise ArgumentError, "Not a directory: #{ARGV[0]}."
|
69
|
+
end
|
73
70
|
end
|
71
|
+
|
72
|
+
MakeRubygemDebs::make_rubygem_debs topdir
|