1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +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:
Satoshi Asami 1995-03-25 04:30:54 +00:00
parent 56d6900126
commit b7bb39814d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1198

View File

@ -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 \