From e98ecf9cfa93bdc80ccaa20743bad52fbaac1ea9 Mon Sep 17 00:00:00 2001 From: David Adam Date: Thu, 30 Nov 2017 15:00:52 +0800 Subject: [PATCH] build_lexicon_filter: drop which dependency --- build_tools/build_lexicon_filter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/build_lexicon_filter.sh b/build_tools/build_lexicon_filter.sh index 2b49b3718..167a390ce 100755 --- a/build_tools/build_lexicon_filter.sh +++ b/build_tools/build_lexicon_filter.sh @@ -18,7 +18,7 @@ rm -f lexicon.tmp lexicon_catalog.tmp lexicon_catalog.txt lexicon.txt FUNCTIONS_DIR_FILES=${1}/*.fish COMPLETIONS_DIR_FILES=${2}/*.fish -SED=${3:-$(which sed)} +SED=${3:-$(command -v sed)} # Scan sources for commands/functions/binaries/colours. If GNU sed was portable, this could be much smarter. $SED >lexicon.tmp -n \