diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-03-29 10:02:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-03-29 10:02:07 +0000 |
commit | 4fa57a3881441ccbd9256a297262a15bf1d8dd00 (patch) | |
tree | 9a33432fafdea67149769132f5f78f4d418af0a1 | |
parent | 336597ce48104849504da80934697c047004cc75 (diff) | |
download | portage-4fa57a3881441ccbd9256a297262a15bf1d8dd00.tar.gz portage-4fa57a3881441ccbd9256a297262a15bf1d8dd00.tar.bz2 portage-4fa57a3881441ccbd9256a297262a15bf1d8dd00.zip |
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
-rwxr-xr-x | bin/ebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |