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

Commit e07bd61

Browse files
committed
del files with size 0
1 parent 619cc5e commit e07bd61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/runner/functions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,8 @@ if [[ "${CONTINUE_SBUILD}" == "YES" ]]; then
392392
strip --strip-debug --strip-dwo --strip-unneeded "{}"
393393
fi
394394
'
395+
#Remove Size0 Files
396+
find "${SBUILD_OUTDIR}" -maxdepth 1 -type f -size 0 -delete 2>/dev/null
395397
#Fix Desktop
396398
find "${SBUILD_OUTDIR}" -maxdepth 1 -type f -iname "*.desktop" -exec sed -E 's/^[[:space:]]*[Ee]xec[[:space:]]*=[[:space:]]*[^[:space:]]+/Exec={{pkg_path}}/' -i "{}" \;
397399
#License

0 commit comments

Comments
 (0)