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

Commit 22dbc9d

Browse files
committed
fix
1 parent c1337b1 commit 22dbc9d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/runner/functions.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,6 +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 -L "${ARTIFACTS_DIR}" -xtype f,l -iname "*LC_MESSAGES*" -exec rm -rvf "{}" \;
385386
find -L "${ARTIFACTS_DIR}" -xtype l 2>/dev/null | awk '{
386387
link=$0;
387388
cmd="readlink \""link"\"";
@@ -399,7 +400,7 @@ if [[ "${CONTINUE_SBUILD}" == "YES" ]]; then
399400
}
400401
close(cmd);
401402
}'
402-
rsync -achL --exclude='*/LC_MESSAGES/LC_MESSAGES*' "${ARTIFACTS_DIR}/." "${SBUILD_OUTDIR}"
403+
rsync -achL "${ARTIFACTS_DIR}/." "${SBUILD_OUTDIR}"
403404
rm -rf "${SBUILD_OUTDIR}/BUILD.log" 2>/dev/null
404405
rm -rf "${ARTIFACTS_DIR}" 2>/dev/null
405406
fi

0 commit comments

Comments
 (0)