whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] 01/02: find path containing a wildcard
Date Sat, 02 Jun 2018 12:59:12 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit 0429b62cfc2771dae2844b2a98048a75d927e7b3
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sat Jun 2 08:57:57 2018 -0400

    find path containing a wildcard
---
 Rakefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Rakefile b/Rakefile
index ac1597f..68b1a2e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -88,6 +88,7 @@ namespace :svn do
 
     # checkout/update svn repositories
     svn = ASF::Config.get(:svn)
+    svn = Array(svn).find {|path| String === path and path.end_with? '/*'}
     if svn.instance_of? String and svn.end_with? '/*'
       Dir.chdir File.dirname(svn) do
         require 'uri'

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.

Mime
View raw message