mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
fix checking DISTDIR for writeability
PR: ports/127467 Submitted by: Sergey Skvortsov <godegisel@FreeBSD.org>
This commit is contained in:
parent
fcc492c842
commit
aac69c1d99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355631
@ -3376,8 +3376,8 @@ do-fetch:
|
||||
fi; \
|
||||
fi; \
|
||||
${ECHO_MSG} "=> $$file doesn't seem to exist in ${_DISTDIR}."; \
|
||||
if [ ! -w ${DISTDIR} ]; then \
|
||||
${ECHO_MSG} "=> ${DISTDIR} is not writable by you; cannot fetch."; \
|
||||
if [ ! -w ${_DISTDIR} ]; then \
|
||||
${ECHO_MSG} "=> ${_DISTDIR} is not writable by you; cannot fetch."; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
if [ ! -z "$$select" ] ; then \
|
||||
|
Loading…
Reference in New Issue
Block a user