We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
readelf
1 parent a36e7dc commit ba6bbfeCopy full SHA for ba6bbfe
1 file changed
.github/workflows/stack-size.yml
@@ -57,6 +57,15 @@ jobs:
57
# macOS has the benefit of packaging `oksh`, `osh`, and having distinct core tools
58
if [ "$OS" = "macOS" ]; then
59
brew install binutils # `readelf`
60
+
61
+ # `binutils` is not placed within the path, so find its `readelf` bin and manually move
62
+ # it into our path. Due to the two possible prefixes, this consolidates them to a single
63
+ # parent directory which is cursed, yet functional
64
+ sudo mkdir -p /opt/homebrew
65
+ sudo cp -r /opt/homebrew /usr/local/opt_homebrew
66
+ sudo cp $(find /usr/local -name readelf) /usr/bin/
67
+ sudo rm -rf /usr/local/opt_homebrew
68
69
brew install ksh93 bash dash-shell zsh mksh oksh yash oils-for-unix
70
SHELLS="sh ksh bash dash zsh mksh oksh yash osh"
71
fi
0 commit comments