diff options
author | agc <agc@pkgsrc.org> | 1999-07-28 10:58:30 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-07-28 10:58:30 +0000 |
commit | fdeae52fb9cd9198d23edf872fee99a02e43894e (patch) | |
tree | 8c11977949be8255c014c6728067cdbc2b86f78b | |
parent | 7f6211432d70cd8297409d103959a7c05c0142f1 (diff) | |
download | pkgsrc-fdeae52fb9cd9198d23edf872fee99a02e43894e.tar.gz |
Don't try to fetch a file if there's a symbolic link in ${DISTDIR}.
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
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}."; \ |