[MacPorts] #62868: arb @6.0.2: ARBHOME: unbound variable

MacPorts noreply at macports.org
Sat Jun 5 15:22:08 UTC 2021


#62868: arb @6.0.2: ARBHOME: unbound variable
-------------------------+--------------------
  Reporter:  Channy-736  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:
      Port:  arb         |
-------------------------+--------------------

Comment (by mattcottrell):

 It's been several years since I stepped away from my role maintaining the
 arb port.  But I'll chime in here to propose a patch to the arb_macsetup
 script to enable zsh compatibility.

 I hope this helps.


 {{{
 --- src/arb_macsetup.orig       2021-06-05 07:00:35.000000000 -0400
 +++ src/arb_macsetup    2021-06-05 11:03:51.000000000 -0400
 @@ -78,6 +78,19 @@
              CONF_FILE=profile
          fi
          ;;
 +    zsh)
 +        echo "Detected the zsh shell."
 +        LOGIN_FLAG="--login"
 +        ENV_COMMAND="export"
 +        ASSIGN="="
 +        if [ -f ${HOME}/.zprofile ]; then
 +            CONF_FILE=zprofile
 +        elif [ -f ${HOME}/.zshrc ]; then
 +            CONF_FILE=zshrc
 +        else
 +            CONF_FILE=zshenv
 +        fi
 +        ;;
      *)
          echo "Unknown shell ($USHELL)! Please set your ARB compatible
 environment manually."


 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62868#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list