From: Zac Medico Date: Wed, 29 Mar 2006 10:02:07 +0000 (-0000) Subject: Compare distfiles timestamps with the files in PORTAGE_ACTUAL_DISTDIR instead of... X-Git-Tag: v2.1_pre8~61 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4fa57a3881441ccbd9256a297262a15bf1d8dd00;p=portage.git Compare distfiles timestamps with the files in PORTAGE_ACTUAL_DISTDIR instead of with the symlinks in DISTDIR. Thanks to Ed Catmur for this patch (bug #127930). svn path=/main/trunk/; revision=3036 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 0217c4ab6..fe2f360f7 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -665,7 +665,7 @@ dyn_unpack() { local checkme for x in ${AA}; do echo ">>> Checking ${x}'s mtime..." - if [ "${DISTDIR}/${x}" -nt "${WORKDIR}" ]; then + if [ "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/${x}" -nt "${WORKDIR}" ]; then echo ">>> ${x} has been updated; recreating WORKDIR..." newstuff="yes" rm -rf "${WORKDIR}"