diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-05-03 04:19:04 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-05-03 04:19:04 +0000 |
commit | edb1cfb3836c24b1b0d7221f393fe6414f48d656 (patch) | |
tree | 73d7c2255950e46a415e1844a1fc8951ae347be6 /bin | |
parent | fc65b94122942042e37ddf75843e61d2a664ff13 (diff) | |
download | portage-edb1cfb3836c24b1b0d7221f393fe6414f48d656.tar.gz portage-edb1cfb3836c24b1b0d7221f393fe6414f48d656.tar.bz2 portage-edb1cfb3836c24b1b0d7221f393fe6414f48d656.zip |
Use absolute paths for files in ${DISTDIR}. Thanks to RB <aoz.syn@gmail.com>
for this patch. (trunk r10127)
svn path=/main/branches/2.1.2/; revision=10129
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/emerge-webrsync | 8 |
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 |