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.
Files changed (2) hide show
  1. data/bin/make-rubygem-debs +12 -13
  2. metadata +1 -1
@@ -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
- MakeRubygemDebs::make_rubygem_debs topdir
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: make-rubygem-debs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: