simplify shell syntax to work better on solaris, patch by
authorChris Lattner <sabre@nondot.org>
Wed, 25 Jun 2008 16:03:42 +0000 (16:03 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Jun 2008 16:03:42 +0000 (16:03 +0000)
Nathan Keynes!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52721 91177308-0d34-0410-b5e6-96231b3b80d8

test/Scripts/count

index cc0355208b71f223abf9ffe44fe9a1d0e557bf4a..1c3d7e0953b2c8fcbdaa7a689d975470023073b1 100755 (executable)
@@ -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