[llvm-commits] [llvm] r52721 - /llvm/trunk/test/Scripts/count
Chris Lattner
sabre at nondot.org
Wed Jun 25 09:03:43 PDT 2008
Author: lattner
Date: Wed Jun 25 11:03:42 2008
New Revision: 52721
URL: http://llvm.org/viewvc/llvm-project?rev=52721&view=rev
Log:
simplify shell syntax to work better on solaris, patch by
Nathan Keynes!
Modified:
llvm/trunk/test/Scripts/count
Modified: llvm/trunk/test/Scripts/count
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Scripts/count?rev=52721&r1=52720&r2=52721&view=diff
==============================================================================
--- llvm/trunk/test/Scripts/count (original)
+++ llvm/trunk/test/Scripts/count Wed Jun 25 11:03:42 2008
@@ -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
More information about the llvm-commits
mailing list