summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authoragc <agc>1999-07-28 10:58:30 +0000
committeragc <agc>1999-07-28 10:58:30 +0000
commit1c13d1a00e55b6134b321b174e92d599a8d95da4 (patch)
tree8c11977949be8255c014c6728067cdbc2b86f78b /mk/bsd.pkg.mk
parent9cbe1cae1e27e3c063fb523c21c57f7f4ad418be (diff)
downloadpkgsrc-1c13d1a00e55b6134b321b174e92d599a8d95da4.tar.gz
Don't try to fetch a file if there's a symbolic link in ${DISTDIR}.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 98567a43cc7..26e8d13931a 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.306 1999/07/28 10:07:55 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.307 1999/07/28 10:58:30 agc Exp $
#
# This file is in the public domain.
#
@@ -852,7 +852,7 @@ describe:
# Fetch
_FETCH_FILE= \
- if [ ! -f $$file -a ! -f $$bfile ]; then \
+ if [ ! -f $$file -a ! -f $$bfile -a ! -h $$bfile ]; then \
${ECHO_MSG} ">> $$bfile doesn't seem to exist on this system."; \
for site in $$sites; do \
${ECHO_MSG} ">> Attempting to fetch $$bfile from $${site}."; \