diff options
author | klarlund <klarlund@01de4be4-8c4a-0410-9132-4925637da917> | 2008-06-09 19:53:59 +0000 |
---|---|---|
committer | klarlund <klarlund@01de4be4-8c4a-0410-9132-4925637da917> | 2008-06-09 19:53:59 +0000 |
commit | 4cfde05d43827e06f14467c9060749b881eaa36a (patch) | |
tree | 88a527e39227fae547c950845410430a809038fc | |
parent | a62325f2e6190b7762c0ddb7a07bd5597bd672cc (diff) | |
download | distcc-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-x | find_c_extension.sh | 2 |
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 |