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

Commit 8e6e27e

Browse files
committed
del files with size 0
1 parent df30526 commit 8e6e27e

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
@@ -396,6 +396,8 @@ if [[ "${CONTINUE_SBUILD}" == "YES" ]]; then
396396
# strip --strip-debug --strip-dwo --strip-unneeded "{}"
397397
fi
398398
'
399+
#Remove Size0 Files
400+
find "${SBUILD_OUTDIR}" -maxdepth 1 -type f -size 0 -delete 2>/dev/null
399401
#Fix Desktop
400402
find "${SBUILD_OUTDIR}" -maxdepth 1 -type f -iname "*.desktop" -exec sed -E 's/^[[:space:]]*[Ee]xec[[:space:]]*=[[:space:]]*[^[:space:]]+/Exec={{pkg_path}}/' -i "{}" \;
401403
#License

0 commit comments

Comments
 (0)