From: Chris Lattner Date: Wed, 25 Jun 2008 16:03:42 +0000 (+0000) Subject: simplify shell syntax to work better on solaris, patch by X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=21b9d283eae05e1e50d011c9038d77eb7bf02f49;p=oota-llvm.git simplify shell syntax to work better on solaris, patch by Nathan Keynes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52721 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Scripts/count b/test/Scripts/count index cc0355208b7..1c3d7e0953b 100755 --- a/test/Scripts/count +++ b/test/Scripts/count @@ -9,7 +9,7 @@ set -e set -u -input_lines=$(wc -l) +input_lines=`wc -l` if [ "$input_lines" -ne "$1" ]; then echo "count: expected $1 lines and got ${input_lines}." exit 1