diff options
author | w0rp <w0rp@users.noreply.github.com> | 2019-08-18 16:26:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-18 16:26:14 +0100 |
commit | 91636cff06c7fec4788ee83a26b11de46c9eabc8 (patch) | |
tree | bb225e254a5977c0a523d6456dc748139f8b9be7 | |
parent | d787369f3774ed26ef7c58f75162bc1828253f49 (diff) | |
parent | 20cc6d3e055c3a8000509c4aac12ebc4a77ad2cd (diff) | |
download | ale-91636cff06c7fec4788ee83a26b11de46c9eabc8.zip |
Merge pull request #2677 from davidtwco/check-toc-test-failure
Remove `/bin/ls` assumption from check-toc test.
-rwxr-xr-x | test/script/check-toc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/script/check-toc b/test/script/check-toc index f3a57ed2..87a61262 100755 --- a/test/script/check-toc +++ b/test/script/check-toc @@ -35,7 +35,7 @@ sed -n "$toc_start_line,$toc_end_line"p doc/ale.txt \ > "$toc_file" # Get all of the doc files in a natural sorted order. -doc_files="$(/bin/ls -1v doc | grep ^ale- | sed 's/^/doc\//' | paste -sd ' ' -)" +doc_files="$(/usr/bin/env ls -1v doc | grep ^ale- | sed 's/^/doc\//' | paste -sd ' ' -)" # shellcheck disable=SC2086 grep -h '\*ale-.*-options\|^[a-z].*\*ale-.*\*$' $doc_files \ |