You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2019/05/31 19:34:54 UTC

[whimsy] branch master updated: Sort for default output prettiness

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 0dd100b  Sort for default output prettiness
0dd100b is described below

commit 0dd100b2b6a58aee4b56419689b441b17e1cfb42
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Fri May 31 15:34:46 2019 -0400

    Sort for default output prettiness
---
 tools/wwwdocs.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/wwwdocs.rb b/tools/wwwdocs.rb
index bf94887..30b532d 100755
--- a/tools/wwwdocs.rb
+++ b/tools/wwwdocs.rb
@@ -172,7 +172,7 @@ end
 def scan_dir_svn(dir, regexs, auth = get_auth())
   links = {}
   auth = get_auth()
-  Dir["#{dir}/**/*.{cgi,rb}".untaint].each do |f|
+  Dir["#{dir}/**/*.{cgi,rb}".untaint].sort.each do |f|
     l = scan_file_svn(f.untaint, regexs)
     if (l[0].length + l[1].length) > 0
       fbase = f.sub(dir, '')