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"*)