[Pkg-mediawiki-commits] r173 - mediawiki-extensions/trunk
Thorsten Glaser
tg at alioth.debian.org
Mon Jun 28 14:25:21 UTC 2010
Author: tg
Date: 2010-06-28 14:25:18 +0000 (Mon, 28 Jun 2010)
New Revision: 173
Modified:
mediawiki-extensions/trunk/check_versions.pl
Log:
ensure to use the "C" locale for all downloads and other invocations
of external programmes
Modified: mediawiki-extensions/trunk/check_versions.pl
===================================================================
--- mediawiki-extensions/trunk/check_versions.pl 2010-06-28 14:23:29 UTC (rev 172)
+++ mediawiki-extensions/trunk/check_versions.pl 2010-06-28 14:25:18 UTC (rev 173)
@@ -1,4 +1,5 @@
#!/usr/bin/perl
+# $Id$
use Getopt::Std;
%options=();
@@ -46,7 +47,7 @@
for (@added) { $is_added{$_} = 1; }
print "Checking other files in the same directory...\n" ;
foreach $new_file (@lines) {
- my $exists = `grep "$new_file" <"$file"` ;
+ my $exists = `LC_ALL=C grep "$new_file" <"$file"` ;
my @filtered = grep(/$new_file/, at blacklist);
print "Checking: $new_file\n";
my $size = @filtered;
@@ -131,7 +132,7 @@
$basedir = get_extdir($package,$basedir,$extname) ;
my $extdir = "dist/mediawiki-extensions-$package/$basedir" ;
system("mkdir -p $extdir $redirect");
- system("cd $extdir && svn export --force $url $redirect");
+ system("cd $extdir && LC_ALL=C svn export --force $url $redirect");
}
my $tmpdir = `mktemp -d` ;
Property changes on: mediawiki-extensions/trunk/check_versions.pl
___________________________________________________________________
Added: svn:keywords
+ Author CVSHeader Date Id LastChangedBy LastChangedDate LastChangedRevision Log Revision Source State
More information about the Pkg-mediawiki-commits
mailing list