You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2015/12/04 20:20:19 UTC

[whimsy.git] [38/50] Commit dd76222: belt and suspenders

Commit dd762220d2d94d491f0010f3c9a965ca799bbe7b:
    belt and suspenders
    git-svn-id: https://svn.apache.org/repos/infra/infrastructure/trunk/projects/whimsy@820564 90ea9780-b833-de11-8433-001ec94261de


Branch: refs/heads/master
Author: Daniel Shahaf <da...@apache.org>
Committer: Daniel Shahaf <da...@apache.org>
Pusher: rubys <ru...@apache.org>

------------------------------------------------------------
www/officers/mlreq.cgi                                       | ++ -
------------------------------------------------------------
3 changes: 2 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/officers/mlreq.cgi b/www/officers/mlreq.cgi
index c8c9923..7b1f56a 100755
--- a/www/officers/mlreq.cgi
+++ b/www/officers/mlreq.cgi
@@ -186,12 +186,13 @@ _html do
           request = vars.map {|name,value| "#{name}=#{value}\n"}.join("")
           _pre request
           File.open("#{mlreq.untaint}.txt",'w') { |file| file.write request }
-          _.system(['svn', 'add', "#{mlreq.untaint}.txt"])
+          _.system(['svn', 'add', '--', "#{mlreq.untaint}.txt"])
         end
 
         @message='Mailing list request form' if not @message or @message.empty?
         _.system [
 	  'svn', 'commit', '-m', @message, '--no-auth-cache',
+	  '--non-interactive',
 	  (['--username', $USER, '--password', $PASSWORD] if $PASSWORD)
         ]
       else