mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Don't uudecode if the .tar.gz file is already there.
Pointed-out by: Anthony Chan <yeehang@netcom.com>
This commit is contained in:
parent
56d6900126
commit
b7bb39814d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1198
@ -19,7 +19,10 @@ extract: fetch ${EXTRACT_COOKIE}
|
||||
${EXTRACT_COOKIE}:
|
||||
@${MAKE} ${.MAKEFLAGS} checksum pre-extract
|
||||
@echo "===> Extracting for ${DISTNAME}"
|
||||
@(cd ${DISTDIR}; zcat ${DISTFILES} | uudecode)
|
||||
@(cd ${DISTDIR}; \
|
||||
if [ ! -f ${DISTNAME}.tar.gz ]; then \
|
||||
zcat ${DISTFILES} | uudecode; \
|
||||
fi)
|
||||
@rm -rf ${WRKDIR}
|
||||
@mkdir -p ${WRKDIR}
|
||||
@(cd ${WRKDIR}; tar -xzf \
|
||||
|
Loading…
Reference in New Issue
Block a user