summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parentBuf #219294 - Fix 'date' and 'cut' arguments for BSD userland. Thanks to (diff)
downloadportage-multirepo-24e05cc003a0d33e3ac976c6107949ccf7483c5b.tar.gz
portage-multirepo-24e05cc003a0d33e3ac976c6107949ccf7483c5b.tar.bz2
portage-multirepo-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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge-webrsync8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index b9773590..07139634 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