From 21b9d283eae05e1e50d011c9038d77eb7bf02f49 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 25 Jun 2008 16:03:42 +0000 Subject: [PATCH] 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 --- test/Scripts/count | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1