From f0ac9253e8b84691cec17fc80422993949a91cc1 Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Sun, 26 Jun 2022 09:07:18 +0200 Subject: [PATCH] tests/atlocal.in - switched from which to command -v Sam James reported a possible future build problem due to the usage of the "which" command: https://savannah.gnu.org/bugs/?62675 I replace "which" with "command -v" as proposed. Thanks for your support. Closes: 62675 --- tests/atlocal.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/atlocal.in b/tests/atlocal.in index 42119f3249..4170feda33 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -71,7 +71,7 @@ alias pspp='pspp --no-statrc' # Avoids error messages during tests if $TERM is set to an unknown terminal. TERM=; unset TERM -pspp_diff=`which diff` +pspp_diff=`command -v diff` if test X"$RUNNER" = Xwine; then diff () { $pspp_diff -w "$@" -- 2.30.2