[Pkg-mono-svn-commits] rev 2588 - mono/trunk/debian

Sebastian Dröge slomo-guest at costa.debian.org
Wed Jun 28 10:28:06 UTC 2006


Author: slomo-guest
Date: 2006-06-28 10:28:05 +0000 (Wed, 28 Jun 2006)
New Revision: 2588

Modified:
   mono/trunk/debian/changelog
   mono/trunk/debian/mono.runtime-script
Log:
* only use LANG=C where the output is parsed


Modified: mono/trunk/debian/changelog
===================================================================
--- mono/trunk/debian/changelog	2006-06-28 09:54:07 UTC (rev 2587)
+++ mono/trunk/debian/changelog	2006-06-28 10:28:05 UTC (rev 2588)
@@ -16,7 +16,8 @@
       - don't output the Byte Order Mark on UTF8 locales to the console. This
         breaks scripts and everything that parses the output of mono programs.
     + debian/mono.runtime-scripts:
-      - added LANG=C to all calls of external programs
+      - added LANG=C to all calls of external programs where the output is
+        parsed
 
  -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Tue, 27 Jun 2006 15:11:24 +0200
 

Modified: mono/trunk/debian/mono.runtime-script
===================================================================
--- mono/trunk/debian/mono.runtime-script	2006-06-28 09:54:07 UTC (rev 2587)
+++ mono/trunk/debian/mono.runtime-script	2006-06-28 10:28:05 UTC (rev 2588)
@@ -62,9 +62,9 @@
 	    # Clean up the line and get the base directory
 	    chomp;
 	    my $basedir = dirname($_);
-	    system("LANG=C rm -f $_/*");
-	    system("LANG=C rmdir $_");
-	    system("LANG=C rmdir $basedir");
+	    system("rm -f $_/*");
+	    system("rmdir $_");
+	    system("rmdir $basedir");
 	}
 
 	close UNINSTALL;
@@ -116,7 +116,7 @@
     # absolute paths). There isn't a problem of doing too many
     # since we typically run from the root context.
     my $cmd = "(cd / && "
-    	. "LANG=C /usr/bin/mono /usr/lib/mono/1.0/gacutil.exe /i ./$dll"
+    	. "/usr/bin/mono /usr/lib/mono/1.0/gacutil.exe /i ./$dll"
 	. " > /dev/null)";
     system($cmd);
 }




More information about the Pkg-mono-svn-commits mailing list