mk/tools: not all linuxes have bash (e.g. alpine)

This commit is contained in:
nia 2020-05-28 14:47:36 +00:00
parent a6d6486ed0
commit bee9205d2d

View file

@ -1,4 +1,4 @@
# $NetBSD: tools.Linux.mk,v 1.63 2018/11/12 13:34:39 jperkin Exp $
# $NetBSD: tools.Linux.mk,v 1.64 2020/05/28 14:47:36 nia Exp $
#
# System-supplied tools for the Linux operating system.
@ -16,7 +16,9 @@ TOOLS_PLATFORM.basename?= /bin/basename
.elif exists(/usr/bin/basename)
TOOLS_PLATFORM.basename?= /usr/bin/basename
.endif
.if exists(/bin/bash)
TOOLS_PLATFORM.bash?= /bin/bash
.endif
.if exists(/usr/bin/bison)
TOOLS_PLATFORM.bison?= /usr/bin/bison
TOOLS_PLATFORM.bison-yacc?= /usr/bin/bison -y