From: Zac Medico Date: Sat, 22 Jun 2013 06:37:12 +0000 (-0700) Subject: emerge-webrsync: fetch_file rm absolute path X-Git-Tag: v2.2.0_alpha185~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5bc007673b3861af2f95517e163fa13660621514;p=portage.git emerge-webrsync: fetch_file rm absolute path --- diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync index 76d31f51c..0a943030d 100755 --- a/bin/emerge-webrsync +++ b/bin/emerge-webrsync @@ -129,7 +129,7 @@ fetch_file() { elif [ "${FETCHCOMMAND/curl/}" != "${FETCHCOMMAND}" ]; then opts="--continue-at - $(nvecho -s -f)" else - rm -f "${FILE}" + rm -f "${DISTDIR}/${FILE}" fi __vecho "Fetching file ${FILE} ..." diff --git a/misc/emerge-delta-webrsync b/misc/emerge-delta-webrsync index a80c9764c..01d7f4a65 100755 --- a/misc/emerge-delta-webrsync +++ b/misc/emerge-delta-webrsync @@ -222,7 +222,7 @@ fetch_file() { elif [ "${FETCHCOMMAND/curl/}" != "${FETCHCOMMAND}" ]; then opts="--continue-at - $(nvecho -s -f)" else - rm -f "${FILE}" + rm -f "${DISTDIR}/${FILE}" fi __vecho "Fetching file ${FILE} ..."