File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,13 @@ jobs:
502502
503503 # Find where coreutils was actually installed
504504 echo "Searching for coreutils binary in installation directory..."
505- COREUTILS_BIN=$(find "$INSTALL_DIR" -name "coreutils" -type f 2>/dev/null | head -1)
505+ # First try the expected location
506+ if [ -x "$INSTALL_DIR/usr/bin/coreutils" ]; then
507+ COREUTILS_BIN="$INSTALL_DIR/usr/bin/coreutils"
508+ else
509+ # Fallback: search for executable files named coreutils (excluding completion files)
510+ COREUTILS_BIN=$(find "$INSTALL_DIR" -path "*/bin/*" -name "coreutils" -type f 2>/dev/null | head -1)
511+ fi
506512 if [ -n "$COREUTILS_BIN" ]; then
507513 echo "Found coreutils at: $COREUTILS_BIN"
508514 export COREUTILS_BIN
You can’t perform that action at this time.
0 commit comments