release: Remove useless ls

Replace "$((ls *.txz))" with "*.txz"

Reported by:	jrtc27
This commit is contained in:
Colin Percival 2024-11-06 14:24:34 -08:00
parent 609fa228ba
commit e166fea685

View File

@ -241,12 +241,12 @@ dvd: packagesystem
-DDB_FROM_SRC )
# Copy distfiles
mkdir -p ${.TARGET}/usr/freebsd-dist
for dist in MANIFEST $$(ls *.txz); \
for dist in MANIFEST *.txz; \
do cp $${dist} ${.TARGET}/usr/freebsd-dist; \
done
.if defined(NO_ROOT)
echo "./usr/freebsd-dist type=dir uname=root gname=wheel mode=0755" >> ${.TARGET}/METALOG
for dist in MANIFEST $$(ls *.txz); \
for dist in MANIFEST *.txz; \
do echo "./usr/freebsd-dist/$${dist} type=file uname=root gname=wheel mode=0644" >> ${.TARGET}/METALOG; \
done
.endif