summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-25 16:03:42 +0000
committerChris Lattner <sabre@nondot.org>2008-06-25 16:03:42 +0000
commit99fea6f405cf8584ad602bf31327ca636455d134 (patch)
tree29e366fecf33d5e3c4058cce3e77116a71ae37f2
parentc9d1f4521034627ccbfafb6e7ce2a9c7417f6311 (diff)
downloadbcm5719-llvm-99fea6f405cf8584ad602bf31327ca636455d134.tar.gz
bcm5719-llvm-99fea6f405cf8584ad602bf31327ca636455d134.zip
simplify shell syntax to work better on solaris, patch by
Nathan Keynes! llvm-svn: 52721
-rwxr-xr-xllvm/test/Scripts/count2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Scripts/count b/llvm/test/Scripts/count
index cc0355208b7..1c3d7e0953b 100755
--- a/llvm/test/Scripts/count
+++ b/llvm/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
OpenPOWER on IntegriCloud