Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools mk/tools: not all linuxes have bash (e.g. alp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b57e749b2d6
branches:  trunk
changeset: 432980:7b57e749b2d6
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 28 14:47:36 2020 +0000

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

diffstat:

 mk/tools/tools.Linux.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r c67c0783d038 -r 7b57e749b2d6 mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Thu May 28 14:44:19 2020 +0000
+++ b/mk/tools/tools.Linux.mk   Thu May 28 14:47:36 2020 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index