summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklarlund <klarlund@01de4be4-8c4a-0410-9132-4925637da917>2008-06-09 19:53:59 +0000
committerklarlund <klarlund@01de4be4-8c4a-0410-9132-4925637da917>2008-06-09 19:53:59 +0000
commit4cfde05d43827e06f14467c9060749b881eaa36a (patch)
tree88a527e39227fae547c950845410430a809038fc
parenta62325f2e6190b7762c0ddb7a07bd5597bd672cc (diff)
downloaddistcc-4cfde05d43827e06f14467c9060749b881eaa36a.tar.gz
Correct obscure bug (that quoting a variable eliminates the conversion of
newlines to spaces). Reviewers: fergus and csilvers (at Google). git-svn-id: http://distcc.googlecode.com/svn/trunk@479 01de4be4-8c4a-0410-9132-4925637da917
-rwxr-xr-xfind_c_extension.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/find_c_extension.sh b/find_c_extension.sh
index 4dd297e..ab0f8f7 100755
--- a/find_c_extension.sh
+++ b/find_c_extension.sh
@@ -24,7 +24,7 @@ if [ -z "$so_files" ]; then
echo \
'__________Could not find shared libraries for distcc-pump' 1>&2
exit 1
-elif echo "$so_files" | grep ' ' >/dev/null; then
+elif [ `echo "$so_files" | wc -l` -ge 2 ]; then
echo \
'__________Shared libraries for multiple architectures discovered.' \
1>&2