summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-03 04:16:44 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-03 04:16:44 +0000
commit24e05cc003a0d33e3ac976c6107949ccf7483c5b (patch)
tree43e5fe5ec8c7fae935e1312ebc7fa9393454a881
parent832715c7ba9b2f379915d551b5cf1d43163352bc (diff)
downloadportage-24e05cc003a0d33e3ac976c6107949ccf7483c5b.tar.gz
portage-24e05cc003a0d33e3ac976c6107949ccf7483c5b.tar.bz2
portage-24e05cc003a0d33e3ac976c6107949ccf7483c5b.zip
Use absolute paths for files in ${DISTDIR}. Thanks to RB <aoz.syn@gmail.com>
for this patch. svn path=/main/trunk/; revision=10127
-rwxr-xr-xbin/emerge-webrsync8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index b97735909..07139634d 100755
--- a/bin/emerge-webrsync
+++ b/bin/emerge-webrsync
@@ -252,8 +252,8 @@ do_snapshot() {
local signature="${file}.gpgsig"
if [ -s "${file}" -a -s "${digest}" -a -s "${signature}" ] ; then
- check_file_digest "${digest}" "${file}" && \
- check_file_signature "${signature}" "${file}" && \
+ check_file_digest "${DISTDIR}/${digest}" "${DISTDIR}/${file}" && \
+ check_file_signature "${DISTDIR}/${signature}" "${DISTDIR}/${file}" && \
have_files=1
fi
@@ -261,8 +261,8 @@ do_snapshot() {
fetch_file "${mirror}/snapshots/${digest}" "${digest}" && \
fetch_file "${mirror}/snapshots/${signature}" "${signature}" && \
fetch_file "${mirror}/snapshots/${file}" "${file}" && \
- check_file_digest "${digest}" "${file}" && \
- check_file_signature "${signature}" "${file}" && \
+ check_file_digest "${DISTDIR}/${digest}" "${DISTDIR}/${file}" && \
+ check_file_signature "${DISTDIR}/${signature}" "${DISTDIR}/${file}" && \
have_files=1
fi