summaryrefslogtreecommitdiffstats
path: root/source/a/pkgtools/scripts/makepkg
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/pkgtools/scripts/makepkg')
-rw-r--r--source/a/pkgtools/scripts/makepkg4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/a/pkgtools/scripts/makepkg b/source/a/pkgtools/scripts/makepkg
index 63ab83cb8..d6b2e1863 100644
--- a/source/a/pkgtools/scripts/makepkg
+++ b/source/a/pkgtools/scripts/makepkg
@@ -420,9 +420,7 @@ if [ ! $ERRCODE = 0 ]; then
fi
# Warn of zero-length files:
-find . -type f -size 0c | while read file ; do
- echo "WARNING: zero length file $(echo $file | cut -b3-)"
-done
+find . -type f -size 0c | cut -b3- | sed "s/^/WARNING: zero length file /g"
# Warn of corrupt or empty gzip files:
find . -type f -name '*.gz' | while read file ; do