Opened 7 months ago
Last modified 7 months ago
#60645 new defect
app PortGroup specifies using bash, but Catalina no longer uses bash
Reported by: | kencu (Ken) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: |
Description
The app PortGroup currently generates a launch script like this:
#!/bin/bash export PATH="/opt/local/bin:/opt/local/sbin:$PATH" exec /opt/local/bin/gedit
but now that Catalina doesn't use bash
we may have to change that to
#!/bin/sh export PATH="/opt/local/bin:/opt/local/sbin:$PATH" exec /opt/local/bin/gedit
or perhaps there is a better method.
Change History (2)
comment:1 Changed 7 months ago by kencu (Ken)
Summary: | app PortGroup → app PortGroup specifies using bash, but Catalina no longer uses bash |
---|
comment:2 Changed 7 months ago by ryandesign (Ryan Schmidt)
Note: See
TracTickets for help on using
tickets.
/bin/bash still exists on Catalina so there is no urgent need to change anything. Perhaps it will disappear in a future version of macOS.
Presumably the script is simple enough and POSIX-compliant enough that we should be specifying /bin/sh instead. But if the portgroup's script generation is changed, all ports that use that script generation should have their revisions increased.