shithub: werc

Download patch

ref: 34b35d8c322ecb483aea09e4816b21da70767756
parent: b1f3598c5383bb3d99bffa9b0ff3ec4fc1ec518b
author: sl <uriel@engel.se.cat-v.org>
date: Fri Mar 13 06:51:43 EDT 2009

Change the order in which redirects are evaluated, so one can override them on config files.

--- a/bin/wercconf.rc
+++ b/bin/wercconf.rc
@@ -3,7 +3,7 @@
     if(~ $#* 1)
         perm_redir_to=$1
     if not
-        perm_redir_patterns=($perm_redir_patterns $1 $2)
+        perm_redir_patterns=($1 $2 $perm_redir_patterns)
 }
 
 fn conf_hide_paths {