[Gnucash-changes] r14048 - mail-search/nmz - Actually, allow longer LANG settings

Derek Atkins warlord at cvs.gnucash.org
Sun May 14 15:32:31 EDT 2006


Author: warlord
Date: 2006-05-14 15:32:31 -0400 (Sun, 14 May 2006)
New Revision: 14048
Trac: http://svn.gnucash.org/trac/changeset/14048

Modified:
   mail-search/nmz/namazu-cgi.sh
Log:
Actually, allow longer LANG settings


Modified: mail-search/nmz/namazu-cgi.sh
===================================================================
--- mail-search/nmz/namazu-cgi.sh	2006-05-14 19:30:29 UTC (rev 14047)
+++ mail-search/nmz/namazu-cgi.sh	2006-05-14 19:32:31 UTC (rev 14048)
@@ -4,7 +4,7 @@
 #
 
 # compute the langinfo from the PATH_INFO
-langinfo=`echo $PATH_INFO | grep '^/[a-zA-Z][a-zA-Z]' | sed -e 's#^/\([a-zA-Z][a-zA-Z]\).*$#\1#'`
+langinfo=`echo $PATH_INFO | grep '^/\w*' | sed -e 's#^/\(\w*\).*$#\1#'`
 
 if [ -n "$langinfo" ] ; then
   LANG="$langinfo"



More information about the gnucash-changes mailing list