Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > cc3dfe88329520ee251807804f6e13b0 > files > 4

svn2cl-0.9-2mdv2008.1.src.rpm

--- ./svn2cl.sh	2007-09-18 12:19:07.325274026 +0200
+++ ./svn2cl.sh	2007-09-18 12:19:09.000000000 +0200
@@ -295,7 +295,7 @@
 # try to determin a prefix to strip from all paths
 if [ "$STRIPPREFIX" = "AUTOMATICALLY-DETERMINED" ]
 then
-  STRIPPREFIX=`LANG=C eval "$SVNINFOCMD" 2> /dev/null | awk '/^URL:/{url=$2} /^Repository Root:/{root=$3} END{if(root){print substr(url,length(root)+2)}else{gsub("^.*/","",url);print url}}'`
+  STRIPPREFIX=`LANGUAGE=C eval "$SVNINFOCMD" 2> /dev/null | awk '/^URL:/{url=$2} /^Repository Root:/{root=$3} END{if(root){print substr(url,length(root)+2)}else{gsub("^.*/","",url);print url}}'`
   STRIPPREFIX=`echo "$STRIPPREFIX" | sed 's/%20/ /g'`
 fi