diff options
author | David Phillips <david@sighup.nz> | 2017-06-27 17:26:58 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-06-27 17:26:58 +1200 |
commit | 3616b3c21130c7ee86ada66e02b84ebb55783183 (patch) | |
tree | 99248d0742ae455dc6fc7b0df10c8ff3312369ce | |
parent | a3e735c45f08a345435a845fa73a293946992b59 (diff) | |
download | sand-leek-3616b3c21130c7ee86ada66e02b84ebb55783183.tar.xz |
Expand \r to \n before parsing in test.sh
-rwxr-xr-x | test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ stderr="$(mktemp)" # Four character search should be a < 1 second CPU burst for CI runner ./sand-leek -s site > $key 2>$stderr -found="$(grep Found $stderr | cut -d ' ' -f 2)" +found="$(tr '\r' '\n' < $stderr | grep Found | cut -d ' ' -f 2)" echo "sand-leek says it found $found..." |