pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/tools



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May 28 14:47:36 UTC 2020

Modified Files:
        pkgsrc/mk/tools: tools.Linux.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/mk/tools/tools.Linux.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/tools/tools.Linux.mk
diff -u pkgsrc/mk/tools/tools.Linux.mk:1.63 pkgsrc/mk/tools/tools.Linux.mk:1.64
--- pkgsrc/mk/tools/tools.Linux.mk:1.63 Mon Nov 12 13:34:39 2018
+++ pkgsrc/mk/tools/tools.Linux.mk      Thu May 28 14:47:36 2020
@@ -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



Home | Main Index | Thread Index | Old Index