From be4c4ad51229ede0b4d3d238bcd05299219c2d1f Mon Sep 17 00:00:00 2001 From: Volker Braun Date: Thu, 6 Feb 2014 14:02:02 +0000 Subject: [PATCH] Use posix locale for regex --- build/pkgs/pari/spkg-install | 2 -- src/bin/sage-spkg | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/pkgs/pari/spkg-install b/build/pkgs/pari/spkg-install index 00586e2ba7d..fce58d3fb1a 100755 --- a/build/pkgs/pari/spkg-install +++ b/build/pkgs/pari/spkg-install @@ -33,8 +33,6 @@ set_environment() # This is needed or there are weird locale problems involving rpath # with building Sage: - LC_ALL=C - export LC_ALL LANG=C export LANG diff --git a/src/bin/sage-spkg b/src/bin/sage-spkg index 82d71abc69c..13adc925da2 100755 --- a/src/bin/sage-spkg +++ b/src/bin/sage-spkg @@ -54,6 +54,8 @@ # http://www.gnu.org/licenses/ #***************************************************************************** +# Avoid surprises with character ranges [a-z] in regular expressions +export LC_ALL=C # error_msg(header, command) # This is for printing an error message if something went wrong.