summaryrefslogtreecommitdiff
path: root/security/openssh
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>1999-11-11 20:49:44 +0000
committerBrian Feldman <green@FreeBSD.org>1999-11-11 20:49:44 +0000
commit2bd1eb4e1815764ee11e1ff39c3e521a7136a2ef (patch)
tree8777149d0b231c2735a21f3d5ca972cb2ccf0d7e /security/openssh
parentUpdate to Milestone 10. (diff)
Correct the do-fetch target and improve error detection in fetchit.
Notes
Notes: svn path=/head/; revision=23036
Diffstat (limited to 'security/openssh')
-rw-r--r--security/openssh/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index 86a53625f9b1..46164016062a 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -30,10 +30,10 @@ NO_CHECKSUM= YES
WRKSRC= ${WRKDIR}/ssh
do-fetch:
-.if !exists(${WRKDIR}/.fetch_done)
- @${SETENV} WRKDIR=${WRKDIR} ${SCRIPTDIR}/fetchit
-.endif
- @${TOUCH} ${WRKDIR}/.fetch_done
+ @if [ ! -e ${WRKDIR}/.fetch_done ]; then \
+ ${SETENV} WRKDIR=${WRKDIR} ${SCRIPTDIR}/fetchit || exit 1; \
+ ${TOUCH} ${WRKDIR}/.fetch_done; \
+ fi
do-extract:
@${CP} ${FILESDIR}/strlcpy.c ${WRKSRC}/lib/