This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix re-exec logic in rpg-package-spec

  • Loading branch information...
rtomayko committed Mar 15, 2010
1 parent 652a822 commit c3c4d167a24a68a1db53d5d25da6ea6f86edb770
Showing with 1 addition and 1 deletion.
  1. +1 −1 rpg-package-spec.rb
View
@@ -27,7 +27,7 @@
end
# Re-execute through rpg if the environment isn't right.
-exec "rpg", $0, *ARGV if ENV['RPGDB'].empty?
+exec "rpg", "package-spec", *ARGV if ENV['RPGDB'].to_s == ''
# Figure out if we're in import mode or print formatted output mode.
if ['-i', '--import'].include?(ARGV.first)

0 comments on commit c3c4d16

Please sign in to comment.