Skip to content

Commit 7b0d7dc

Browse files
committed
gh/action: fix a test as we changed the permissions on the files
1 parent 1cd939a commit 7b0d7dc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/l10n.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)