git: e166fea685da - main - release: Remove useless ls
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Nov 2024 22:26:20 UTC
The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=e166fea685da4ac6a6891f10b07f98d0e9fcfce3 commit e166fea685da4ac6a6891f10b07f98d0e9fcfce3 Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2024-11-06 22:24:34 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2024-11-06 22:26:09 +0000 release: Remove useless ls Replace "$((ls *.txz))" with "*.txz" Reported by: jrtc27 --- release/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/Makefile b/release/Makefile index 9f19b150ae65..be628d20ba8d 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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