[Groonga-mysql-commit] mroonga/mroonga at 4f5b0b9 [master] packages ubuntu: fix OptionParser::InvalidOption error

Back to archive index

Masafumi Yokoyama null+****@clear*****
Thu Jun 30 18:00:37 JST 2016


Masafumi Yokoyama	2016-06-30 18:00:37 +0900 (Thu, 30 Jun 2016)

  New Revision: 4f5b0b98693c511e18ca093f059fa10f220e69a0
  https://github.com/mroonga/mroonga/commit/4f5b0b98693c511e18ca093f059fa10f220e69a0

  Message:
    packages ubuntu: fix OptionParser::InvalidOption error
    
        % make upload
        ...
        ./upload.rb:143:in `parse_command_line!': invalid option: --ppa (OptionParser::InvalidOption)
                from ./upload.rb:33:in `run'
                from ./upload.rb:224:in `<main>'
        Makefile:486: recipe for target 'upload' failed
        make: *** [upload] Error 1
    
    ref:
      * eebb1f4cb6be752393b72b6fbc8ad59d63cbc899
      * 995d085d8eae9c5bda19d703b940ad3a9f2ddb39

  Modified files:
    packages/ubuntu/upload.rb

  Modified: packages/ubuntu/upload.rb (+4 -4)
===================================================================
--- packages/ubuntu/upload.rb    2016-06-30 16:03:27 +0900 (7bf4b3a)
+++ packages/ubuntu/upload.rb    2016-06-30 18:00:37 +0900 (f21b003)
@@ -63,10 +63,6 @@ class Uploader
     dput_cf_content.each_line do |line|
       return if line.chomp == "[#{@dput_configuration_name}]"
     end
-    parser.on("--ppa=PPA",
-              "The personal package archive name (groonga-ppa or groonga-nightly") do |ppa|
-      @dput_configuration_name = ppa
-    end
 
     dput_cf_path.open("w") do |dput_cf|
       dput_cf.puts(dput_cf_content)
@@ -131,6 +127,10 @@ allow_unsigned_uploads = 0
               "The directory that has debianXX/ directory") do |directory|
       @debian_base_directory = Pathname.new(directory).expand_path
     end
+    parser.on("--ppa=PPA",
+              "The personal package archive name (groonga-ppa or groonga-nightly") do |ppa|
+      @dput_configuration_name = ppa
+    end
     parser.on("--pgp-sign-key=KEY",
               "The PGP key to sign .changes and .dsc") do |pgp_sign_key|
       @pgp_sign_key = pgp_sign_key
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index