bug-gnu-pspp
[Top][All Lists]
Advanced

[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)

URL:
  <https://savannah.gnu.org/bugs/?62675>

                 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
'/var/tmp/portage/sci-mathematics/pspp-1.6.1/work/pspp-1.6.1'
XTERM_LOCALE='' /bin/sh './tests/testsuite' -C tests
AUTOTEST_PATH=tests/data:tests/language/lexer:tests/libpspp:tests/output:tests/math:src/ui/terminal:utilities
RUNNER=''
./tests/testsuite: 1: ./atlocal: which: not found
## -------------------------- ##
## GNU PSPP 1.6.1 test suite. ##
## -------------------------- ##

calendar
```
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:

  <https://savannah.gnu.org/bugs/?62675>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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