fence-agents: master - fence-agents: fix build with locales other than C

Fabio M. Di Nitto fabbione at fedoraproject.org
Tue Apr 20 10:40:21 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=3d66266141fce66bb2fd517d14dab1333d05ea2b
Commit:        3d66266141fce66bb2fd517d14dab1333d05ea2b
Parent:        3be82d287b4212bfca3db679983b8687746417ef
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Tue Apr 20 12:36:30 2010 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Tue Apr 20 12:40:14 2010 +0200

fence-agents: fix build with locales other than C

Resolves rhbz#583948

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 scripts/fenceparse |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/fenceparse b/scripts/fenceparse
index c34cb82..0a12fc8 100644
--- a/scripts/fenceparse
+++ b/scripts/fenceparse
@@ -2,6 +2,8 @@
 
 set -e
 
+export LC_ALL=C
+
 definefile="$1"
 define="$2"
 release="$3"


More information about the cluster-commits mailing list