Whamcloud - gitweb
LU-349 set LC_ALL explicitly in obdfilter-survey
authorhongchao.zhang <hongchao.zhang@whamcloud.com>
Sun, 8 May 2011 06:43:51 +0000 (14:43 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 31 May 2011 16:04:08 +0000 (09:04 -0700)
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 <hongchao.zhang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/594
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre-iokit/obdfilter-survey/obdfilter-survey

index ef1871e..f5e5476 100755 (executable)
@@ -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