summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/