summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-08-18 16:26:14 +0100
committerGitHub <noreply@github.com>2019-08-18 16:26:14 +0100
commit91636cff06c7fec4788ee83a26b11de46c9eabc8 (patch)
treebb225e254a5977c0a523d6456dc748139f8b9be7
parentd787369f3774ed26ef7c58f75162bc1828253f49 (diff)
parent20cc6d3e055c3a8000509c4aac12ebc4a77ad2cd (diff)
downloadale-91636cff06c7fec4788ee83a26b11de46c9eabc8.zip
Merge pull request #2677 from davidtwco/check-toc-test-failure
Remove `/bin/ls` assumption from check-toc test.
-rwxr-xr-xtest/script/check-toc2
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 \