diff options
author | B. Watson <urchlay@slackware.uk> | 2023-06-26 16:55:22 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2023-06-26 16:55:22 -0400 |
commit | 8eb1056f0c67c68ac17789c13088b01cb90d087f (patch) | |
tree | 002238346ba62c9283c6c9935ad7c72d29b311a0 | |
parent | d60ebbeacb122fb77a47805e1215ae457d3ce95b (diff) | |
download | sbo-maintainer-tools-8eb1056f0c67c68ac17789c13088b01cb90d087f.tar.gz |
sbopkglint: fix boo-boo in noarch test.
-rw-r--r-- | sbopkglint.d/15-noarch.t.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbopkglint.d/15-noarch.t.sh b/sbopkglint.d/15-noarch.t.sh index 69aa552..858b19e 100644 --- a/sbopkglint.d/15-noarch.t.sh +++ b/sbopkglint.d/15-noarch.t.sh @@ -10,7 +10,7 @@ # for packages that aren't noarch, recommend noarch if it looks like one. # the recommendation is not an error! -find * -type f -print0 | xargs -0 file -m /etc/file/magic/elf | grep ELF | cut -d: -f1 | xargs -d "\n" ls -lb > .elfbins.$$ +find * -type f -print0 | xargs -0 file -m /etc/file/magic/elf | grep ELF | cut -d: -f1 | xargs -rd "\n" ls -lb > .elfbins.$$ if [ "$ARCH" = "noarch" ]; then [ -s .elfbins.$$ ] && \ |