From bb390c5ea9d7d6414be1c6158f749f7689ba0db7 Mon Sep 17 00:00:00 2001 From: asami Date: Sat, 25 Mar 1995 04:30:54 +0000 Subject: Don't uudecode if the .tar.gz file is already there. Pointed-out by: Anthony Chan --- games/xemeraldia/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'games/xemeraldia') diff --git a/games/xemeraldia/Makefile b/games/xemeraldia/Makefile index 4f6ac5ec7afe..fbe18342ae5e 100644 --- a/games/xemeraldia/Makefile +++ b/games/xemeraldia/Makefile @@ -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 \ -- cgit