mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
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:
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
input_lines=$(wc -l)
|
input_lines=`wc -l`
|
||||||
if [ "$input_lines" -ne "$1" ]; then
|
if [ "$input_lines" -ne "$1" ]; then
|
||||||
echo "count: expected $1 lines and got ${input_lines}."
|
echo "count: expected $1 lines and got ${input_lines}."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user