From: yangsheng Date: Sat, 20 Sep 2008 11:39:35 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_140~1^186~1 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5c67f358f1ad6951593a4bd7651e4cb6ce707609;p=fs%2Flustre-release.git Branch b1_8_gate b=16689 i=brian, yibin.wang Make change for sles9/ppc64 build. --- diff --git a/build/lbuild b/build/lbuild index 1a7c476..661cfb8 100755 --- a/build/lbuild +++ b/build/lbuild @@ -508,7 +508,7 @@ load_target() BUILD_ARCHS= for arch in $(uniqify "$ALL_ARCHS") ; do - if [ -z "$TARGET_ARCHS" ] || echo "$TARGET_ARCHS" | grep "$arch" >/dev/null 2>/dev/null ; then + if [ -z "$TARGET_ARCHS" ] || [[ $TARGET_ARCHES =~ (\ |^)$arch(\ |$) ]] ; then BUILD_ARCHS="$BUILD_ARCHS $arch" fi done