[MacPorts] #60069: wireguard-tools needs to use newer bash in El Capitan

MacPorts noreply at macports.org
Mon Feb 10 12:58:31 UTC 2020


#60069: wireguard-tools needs to use newer bash in El Capitan
-----------------------------+-----------------------------
 Reporter:  treble2019       |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:  MacPorts 2.7.0
Component:  ports            |    Version:
 Keywords:  wireguard-tools  |       Port:  wireguard-tools
-----------------------------+-----------------------------
 El Capitan has bash version 3.2.57(1)-release from /bin/bash (presume from
 xcode)

 Install wireguard-tools in macports 2.6.2. It installs OK.

 when one runs


 {{{
 wg-quick up wg0

 }}}

 (it complains that bash is too old and needs newer bash. Not the exact
 error message. sorry)

 Not sure why it does **not** automatically use the bash installed in
 {{{
 /opt/local/bin/bash
 }}}



 I had to go to
 Terminal -> Preferences

 Shell opens with

 . -> Default login shell

 . -> Command (complete path) - change here to  /opt/local/bin/bash

 now
 {{{
 wg-quick
 }}}
  works fine

-- 
Ticket URL: <https://trac.macports.org/ticket/60069>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list