From 1dd3f539a299a50fbbe87c01aa1ba312f790d84b Mon Sep 17 00:00:00 2001 From: yangsheng <yangsheng> Date: Sat, 20 Sep 2008 12:04:05 +0000 Subject: [PATCH] Branch b1_6 b=16689 Fixed the previous commit. --- build/lbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/lbuild b/build/lbuild index 2c2340d82b..0a7c5a81bf 100755 --- a/build/lbuild +++ b/build/lbuild @@ -510,7 +510,7 @@ load_target() BUILD_ARCHS= for arch in $(uniqify "$ALL_ARCHS") ; do - if [ -z "$TARGET_ARCHS" ] || [[ $TARGET_ARCHES =~ (\ |^)$arch(\ |$) ]] ; then + if [ -z "$TARGET_ARCHS" ] || echo "$TARGET_ARCHS" | grep -w "$arch" >/dev/null 2>/dev/null ; then BUILD_ARCHS="$BUILD_ARCHS $arch" fi done -- GitLab