On Fri, Apr 21, 2023 at 12:19:57PM +0200, Jakub Wilk wrote: > * наб <nabijaczleweli@xxxxxxxxxxxxxxxxxx>, 2023-04-21 04:16: > > /etc/bash.bashrc: line 7: PS1: unbound variable > How come? bash is not supposed to read bashrc if the shell is > non-interactive (unless you instruct it otherwise). No clue, surprised me as well, esp. since I didn't see any funny bash flags to force interactivity. Should be protected against -u regardless. > > Makefile:SHELL := /usr/bin/env bash -Eeuo pipefail > Unrelated, but what is /usr/bin/env for? Oddly, SHELL look-up appears to only be defined for DOS: https://www.gnu.org/software/make/manual/html_node/Choosing-the-Shell.html Best,
Attachment:
signature.asc
Description: PGP signature