From 975c08c464440c2f19200990f7b75302aa49b9fb Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Tue, 23 Jan 2018 08:47:24 +0100 Subject: [PATCH] get_libngspice_so.sh: use any bison version built with brew (OSX) --- scripts/get_libngspice_so.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_libngspice_so.sh b/scripts/get_libngspice_so.sh index bfcadaaa58..b1d9ebb358 100755 --- a/scripts/get_libngspice_so.sh +++ b/scripts/get_libngspice_so.sh @@ -20,7 +20,7 @@ case "${OSTYPE}" in "darwin"*) # OS X # ngspice requires bison 2.7, the one in /usr/bin is 2.3 - export PATH="/usr/local/Cellar/bison/3.0.4/bin:${PATH}" + export PATH="$(find /usr/local/Cellar/bison -name bin):${PATH}" ;; "mingw"*)