Package: make
Version: 4.3-4
Severity: normal
"make" doesn't execute recipes with /bin/sh. For instance, consider
the following Makefile file:
----------------------------------------
SHELL = /bin/sh
all:
true
----------------------------------------
and put a script called "true" in your path, containing:
echo foo
exit 1
I get:
$ make
true
foo
make: *** [Makefile:4: all] Error 1
There is no such issue with other SHELL values.
Note: according to POSIX, "true", like some other utilities, is
not subject to PATH search.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.9.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages make depends on:
ii libc6 2.31-4
make recommends no packages.
Versions of packages make suggests:
ii make-doc 4.3-2
-- no debconf information
--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)