From a2004b60658f0d8ad916603794495ef1ba1b5a77 Mon Sep 17 00:00:00 2001 From: Kevin Brubeck Unhammer Date: Wed, 4 Dec 2024 13:01:46 +0100 Subject: [PATCH] make: fix check for apertium-lint --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 793bd4a9..7ba6c567 100644 --- a/Makefile.am +++ b/Makefile.am @@ -103,4 +103,4 @@ test: all | grep -vE 'lm="(.*)(.*)".*/\2_(\\[^_]+|)_' \ | sed 's%^%WARNING: lemma vs par/tail inconsistency in %' apertium-regtest test - @if test -e apertium-lint; then apertium-lint $(BASENAME).$(LANG1).dix; else echo "apertium-lint not found -- not linting" >&2;fi + @if command -V apertium-lint >/dev/null 2>/dev/null; then apertium-lint $(BASENAME).$(LANG1).dix; else echo "apertium-lint not found -- not linting" >&2;fi