From 24e05cc003a0d33e3ac976c6107949ccf7483c5b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 3 May 2008 04:16:44 +0000 Subject: [PATCH] Use absolute paths for files in ${DISTDIR}. Thanks to RB for this patch. svn path=/main/trunk/; revision=10127 --- bin/emerge-webrsync | 8 ++++---- 1 file 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 -- 2.26.2