diff options
author | 2023-04-17 05:36:30 +0100 | |
---|---|---|
committer | 2023-04-17 05:36:30 +0100 | |
commit | eb7d352d007d15bb577a284a2663eb58129b8db5 (patch) | |
tree | 4b41f0520e283c3fd5cde25a2eb2b7f9a4e4d5e0 | |
parent | net/dhcpcd.sh: adapt to dhcpcd-10 versioning (diff) | |
download | netifrc-eb7d352d007d15bb577a284a2663eb58129b8db5.tar.gz netifrc-eb7d352d007d15bb577a284a2663eb58129b8db5.tar.bz2 netifrc-eb7d352d007d15bb577a284a2663eb58129b8db5.zip |
mk/dist.mk: use gtar for --owners
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | mk/dist.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,12 +23,12 @@ dist: mkdir $${D}/${DISTPREFIX} && \ git checkout-index -f -a --prefix=$${D}/${DISTPREFIX}/ && \ git log >$${D}/${DISTPREFIX}/ChangeLog && \ - tar cjf ${DISTFILE} --owner=0 --group=0 --format=posix --mode=a+rX -C $$D ${DISTPREFIX} && \ + gtar cjf ${DISTFILE} --owner=0 --group=0 --format=posix --mode=a+rX -C $$D ${DISTPREFIX} && \ rm -rf $$D ' distcheck: dist rm -rf ${DISTPREFIX} - tar xf ${DISTFILE} + gtar xf ${DISTFILE} MAKEFLAGS= $(MAKE) -C ${DISTPREFIX} MAKEFLAGS= $(MAKE) -C ${DISTPREFIX} check rm -rf ${DISTPREFIX} @@ -39,7 +39,7 @@ snapshot: cp -RPp * /tmp/${SNAPDIR} (cd /tmp/${SNAPDIR}; make clean) find /tmp/${SNAPDIR} -name .svn -exec rm -rf -- {} \; 2>/dev/null || true - tar -cvjpf ${SNAPFILE} -C /tmp ${SNAPDIR} + gtar -cvjpf ${SNAPFILE} -C /tmp ${SNAPDIR} rm -rf /tmp/${SNAPDIR} ls -l ${SNAPFILE} |