This repository was archived by the owner on Jan 9, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -382,7 +382,6 @@ 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 " {}" \;
386385 find -L " ${ARTIFACTS_DIR} " -xtype l 2> /dev/null | awk ' {
387386 link=$0;
388387 cmd="readlink \""link"\"";
@@ -400,7 +399,7 @@ if [[ "${CONTINUE_SBUILD}" == "YES" ]]; then
400399 }
401400 close(cmd);
402401 }'
403- rsync -achL " ${ARTIFACTS_DIR} /." " ${SBUILD_OUTDIR} "
402+ rsync -achL --safe-links " ${ARTIFACTS_DIR} /." " ${SBUILD_OUTDIR} "
404403 rm -rf " ${SBUILD_OUTDIR} /BUILD.log" 2> /dev/null
405404 rm -rf " ${ARTIFACTS_DIR} " 2> /dev/null
406405 fi
You can’t perform that action at this time.
0 commit comments