Skip to content

Commit 74178b6

Browse files
committed
Fix test: use formula-specific prefix for libexec check
The test was failing because $(brew --prefix) returns the global prefix (/opt/homebrew), but libexec is formula-specific and only accessible via $(brew --prefix mfc) which resolves to /opt/homebrew/opt/mfc. Binaries in bin/ and files in share/mfc/ are correctly accessible from the global prefix since Homebrew links them there.
1 parent e5e5947 commit 74178b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/homebrew.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
echo " ✓ All binaries exist and are executable"
9494
9595
echo "2. Verifying installation structure..."
96-
test -f $(brew --prefix)/libexec/mfc.sh
96+
test -f $(brew --prefix mfc)/libexec/mfc.sh
9797
test -d $(brew --prefix)/share/mfc/toolchain
9898
test -d $(brew --prefix)/share/mfc/toolchain/mfc
9999
echo " ✓ Installation structure verified"

0 commit comments

Comments
 (0)