Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit 16c1bd4

Browse files
committed
fix
1 parent b26f29c commit 16c1bd4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

scripts/runner/functions.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,7 @@ if [[ "${CONTINUE_SBUILD}" == "YES" ]]; then
382382
find "${SBUILD_OUTDIR}" -type f -exec sudo chmod +xwr "{}" \; 2>/dev/null
383383
unset ARTIFACTS_DIR ; ARTIFACTS_DIR="$(find "${SBUILD_OUTDIR}/BUILD" -name "SBUILD" -type f -exec dirname "{}" \; | xargs realpath | head -n 1 | tr -d '[:space:]')"
384384
if [ -d "${ARTIFACTS_DIR}" ] && [ $(du -s "${ARTIFACTS_DIR}" | cut -f1) -gt 10 ]; then
385-
#find "${ARTIFACTS_DIR}" -type f,l -name "*LC_MESSAGES*" -exec rm -rvf "{}" \;
386-
find "${ARTIFACTS_DIR}" -type l | awk '{
385+
find -L "${ARTIFACTS_DIR}" -xtype l | awk '{
387386
link=$0;
388387
cmd="readlink \""link"\"";
389388
cmd | getline target;
@@ -400,7 +399,7 @@ if [[ "${CONTINUE_SBUILD}" == "YES" ]]; then
400399
}
401400
close(cmd);
402401
}'
403-
rsync -achL "${ARTIFACTS_DIR}/." "${SBUILD_OUTDIR}"
402+
rsync -achL --exclude='*/LC_MESSAGES/LC_MESSAGES*' "${ARTIFACTS_DIR}/." "${SBUILD_OUTDIR}"
404403
rm -rf "${SBUILD_OUTDIR}/BUILD.log" 2>/dev/null
405404
rm -rf "${ARTIFACTS_DIR}" 2>/dev/null
406405
fi

0 commit comments

Comments
 (0)