From: Friedrich Beckmann Date: Sun, 26 Jun 2022 07:07:18 +0000 (+0200) Subject: tests/atlocal.in - switched from which to command -v X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=f0ac9253e8b84691cec17fc80422993949a91cc1 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 --- 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 "$@"