mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 04:57:38 +00:00
build: Use -r for git ls-tree in make dist
Without this we may pack things like *.swp into the tarball.
This commit is contained in:
parent
a18957940c
commit
aa00b47601
2
Makefile
2
Makefile
@ -212,7 +212,7 @@ dist:
|
|||||||
$(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV)
|
$(Q)DIST=/tmp/LFS-RELEASE ./git-version.sh $(REV)
|
||||||
$(Q)rm -f lfs-$$(</tmp/LFS-RELEASE).tar.xz
|
$(Q)rm -f lfs-$$(</tmp/LFS-RELEASE).tar.xz
|
||||||
$(Q)tar cJf lfs-$$(</tmp/LFS-RELEASE).tar.xz \
|
$(Q)tar cJf lfs-$$(</tmp/LFS-RELEASE).tar.xz \
|
||||||
$(shell git ls-tree HEAD . --name-only) version.ent \
|
$(shell git ls-tree HEAD . --name-only -r) version.ent \
|
||||||
-C /tmp LFS-RELEASE \
|
-C /tmp LFS-RELEASE \
|
||||||
--transform "s,^,lfs-$$(</tmp/LFS-RELEASE)/,"
|
--transform "s,^,lfs-$$(</tmp/LFS-RELEASE)/,"
|
||||||
$(Q)echo "Generated XML tarball lfs-$$(</tmp/LFS-RELEASE).tar.xz"
|
$(Q)echo "Generated XML tarball lfs-$$(</tmp/LFS-RELEASE).tar.xz"
|
||||||
|
Loading…
Reference in New Issue
Block a user