aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-01-28 10:52:20 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-01-28 10:52:20 +0000
commitce82850852c8d79fa011f7044ee3feec5e896d81 (patch)
tree40b320b186bfe7dd9dd3a53d2a0a8e7c0454c474 /Mk
parent9ffca42e8a803f952a3116ebde4d6c8621325efa (diff)
downloadports-ce82850852c8d79fa011f7044ee3feec5e896d81.tar.gz
ports-ce82850852c8d79fa011f7044ee3feec5e896d81.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/do-fetch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/Scripts/do-fetch.sh b/Mk/Scripts/do-fetch.sh
index 879120e5cb07..6b646c96a83c 100644
--- a/Mk/Scripts/do-fetch.sh
+++ b/Mk/Scripts/do-fetch.sh
@@ -44,11 +44,11 @@ for _file in "${@}"; do
fi
done
fi
- if [ '(' -f "${file}" -o -f "$filebasename" ')' -a "$force_fetch" != "true" ]; then
+ if [ -f "${file}" -a "$force_fetch" != "true" ]; then
continue
fi
full_file="${dp_DIST_SUBDIR:+${dp_DIST_SUBDIR}/}${file}"
- if [ -L "$file" -o -L "$filebasename" ]; then
+ if [ -L "$file" ]; then
${dp_ECHO_MSG} "=> ${dp_DISTDIR}/$file is a broken symlink."
${dp_ECHO_MSG} "=> Perhaps a filesystem (most likely a CD) isn't mounted?"
${dp_ECHO_MSG} "=> Please correct this problem and try again."