We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2244f3 commit 6d8985dCopy full SHA for 6d8985d
packaging/homebrew/mfc.rb
@@ -58,9 +58,10 @@ def install
58
# After build completes, install Python toolchain to prefix
59
prefix.install "toolchain"
60
61
- # Install binaries - they're in hashed subdirectories like build/install/<hash>/bin/*
62
- Dir.glob("build/install/*/bin/*").each do |binary_path|
63
- bin.install binary_path
+ # Install only executable files from hashed build dirs
+ Dir.glob("build/install/*/bin/*").each do |p|
+ next unless File.file?(p) && File.executable?(p)
64
+ bin.install p
65
end
66
67
# Install main mfc.sh script
0 commit comments