[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #62675] atlocal.in uses 'which' unnecessarily

From: Sam James
Subject: PSPP-BUG: [bug #62675] atlocal.in uses 'which' unnecessarily
Date: Sun, 26 Jun 2022 02:26:26 -0400 (EDT)


                 Summary: atlocal.in uses 'which' unnecessarily
                 Project: PSPP
               Submitter: thesamesam
               Submitted: Sun 26 Jun 2022 06:26:24 AM UTC
                Category: None
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
                  Effort: 0.00


Follow-up Comments:

Date: Sun 26 Jun 2022 06:26:24 AM UTC By: Sam James <thesamesam>
When `which` isn't installed:
make  check-local
make[3]: Entering directory
XTERM_LOCALE='' /bin/sh './tests/testsuite' -C tests
./tests/testsuite: 1: ./atlocal: which: not found
## -------------------------- ##
## GNU PSPP 1.6.1 test suite. ##
## -------------------------- ##

Would it be possible to swap out `which` for `command -v`? `which` is an
external command not required by POSIX and `command -v` should do the job OK.

Debian (and other distros, like Gentoo) are currently working to root out the
base dependency of which as it's usually not actually needed.

Thanks a bunch!


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]