summaryrefslogtreecommitdiff
path: root/source/a/pkgtools/scripts/makepkg
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-10-11 21:23:09 +0000
committerEric Hameleers <alien@slackware.com>2019-10-12 08:59:49 +0200
commit23e8bbd2ccaaba30353a5cda8d73f33fdaafce20 (patch)
tree041137df244dba8f00a74c088ffc0073552545b1 /source/a/pkgtools/scripts/makepkg
parent962b7e28acdac1577db6e5810cf36a4ad792d5ac (diff)
downloadcurrent-23e8bbd2ccaaba30353a5cda8d73f33fdaafce20.tar.gz
Fri Oct 11 21:23:09 UTC 201920191011212309
a/kernel-generic-4.19.79-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.79-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.79-x86_64-1.txz: Upgraded. a/pkgtools-15.0-noarch-25.txz: Rebuilt. makepkg: speed up zero length files warning. ap/sqlite-3.30.1-x86_64-1.txz: Upgraded. d/kernel-headers-4.19.79-x86-1.txz: Upgraded. k/kernel-source-4.19.79-noarch-1.txz: Upgraded. l/iso-codes-4.4-noarch-1.txz: Upgraded. l/parted-3.3-x86_64-1.txz: Upgraded. x/xf86-video-amdgpu-19.1.0-x86_64-1.txz: Upgraded. xap/rdesktop-1.9.0-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
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 63ab83cb..d6b2e186 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