From 4fa57a3881441ccbd9256a297262a15bf1d8dd00 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 29 Mar 2006 10:02:07 +0000 Subject: 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 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3-1-g7c22