Skip to content

Commit 3e2c32c

Browse files
committed
TIL: find has precedence rules for its operators
The old version was essentially doing: (find files matching `*.rs`) OR (find files matching `*.stderr` AND exec dos2unix)
1 parent cd0fc3e commit 3e2c32c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ install:
4040
fi
4141
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
4242
choco install windows-sdk-10.0
43-
find tests/ui/* -name '*.rs' -or -name '*.stderr' -exec dos2unix '{}' +
43+
find tests/ui/* \( -name '*.rs' -or -name '*.stderr' \) -exec dos2unix '{}' +
4444
fi
4545
fi
4646

0 commit comments

Comments
 (0)