cluster: STABLE3 - fence-agents: fix build with locales other than C

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


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=dd798057688f05adcda65ba1bcc929987f1600b8
Commit:        dd798057688f05adcda65ba1bcc929987f1600b8
Parent:        2db59f61a6ffd024c780e1dfb59a6dfb9ca19104
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:36:30 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 49457a6..b6ed431 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