FujiNetWIFI / fujinet-firmware

8-bit systems to ESP32 WiFi Multifunction Firmware
https://fujinet.online
GNU General Public License v3.0
224 stars 68 forks source link

Better detection of gsed on homebrew. #703

Closed erichelgeson closed 7 months ago

erichelgeson commented 7 months ago

On modern arm macs homebrew is installed under /opt/homebrew.

$ uname -sm
Darwin arm64
$ brew -v
Homebrew 4.2.8
$ which gsed
/opt/homebrew/bin/gsed

Also:

The --with-default-names option is removed since January 2019 https://stackoverflow.com/a/34815955

Looking for gsed in the path should be the most accurate use of gnu-sed when using homebrew on x86 or arm.