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
This commit is contained in:
Chris Lattner 2008-06-25 16:03:42 +00:00
parent 2887310630
commit 21b9d283ea

View File

@ -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