From 347c3a363efd7cfc7c34bc59c813ca6421f67f64 Mon Sep 17 00:00:00 2001 From: "hongchao.zhang" Date: Sun, 8 May 2011 14:43:51 +0800 Subject: [PATCH] LU-349 set LC_ALL explicitly in obdfilter-survey in lustre-iokit/obdfilter-survey/obdfilter-survery, different locales will cause the "awk" to fail, setting LC_ALL=POSIX explicitly to avoid the issue. Change-Id: I9a84f9c93a9911f3a84c33429ba5cc9981913995 Signed-off-by: Hongchao Zhang Reviewed-on: http://review.whamcloud.com/594 Tested-by: Hudson Reviewed-by: Andreas Dilger Reviewed-by: Yu Jian Reviewed-by: Fan Yong Reviewed-by: Oleg Drokin --- lustre-iokit/obdfilter-survey/obdfilter-survey | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre-iokit/obdfilter-survey/obdfilter-survey b/lustre-iokit/obdfilter-survey/obdfilter-survey index ef1871e..f5e5476 100755 --- a/lustre-iokit/obdfilter-survey/obdfilter-survey +++ b/lustre-iokit/obdfilter-survey/obdfilter-survey @@ -66,6 +66,8 @@ nobjhi=${nobjhi:-16} thrlo=${thrlo:-1} thrhi=${thrhi:-16} +export LC_ALL=POSIX + # End of variables # create a set of objects, check there are 'n' contiguous ones and -- 1.8.3.1