summaryrefslogtreecommitdiff
path: root/debian/mono.runtime-script
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@debian.org>2006-06-28 10:28:05 +0000
committerSebastian Dröge <slomo@debian.org>2006-06-28 10:28:05 +0000
commit1f344bffab999b59ef01547d03b3e9c52b4d929f (patch)
tree1c77bad929d4ee6a28d2752820544e0e3ea9b15a /debian/mono.runtime-script
parentd1aa615b6c84ef2a0842b147b88dd1b4f0241922 (diff)
downloadmono-1f344bffab999b59ef01547d03b3e9c52b4d929f.tar.gz
* only use LANG=C where the output is parsed
Diffstat (limited to 'debian/mono.runtime-script')
-rw-r--r--debian/mono.runtime-script8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/mono.runtime-script b/debian/mono.runtime-script
index 86d96b2138..ec0afe936c 100644
--- a/debian/mono.runtime-script
+++ b/debian/mono.runtime-script
@@ -62,9 +62,9 @@ if ($mode eq "remove")
# 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 @@ while (@ARGV)
# 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);
}