summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-29 10:02:07 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-29 10:02:07 +0000
commit4fa57a3881441ccbd9256a297262a15bf1d8dd00 (patch)
tree9a33432fafdea67149769132f5f78f4d418af0a1 /bin
parent336597ce48104849504da80934697c047004cc75 (diff)
downloadportage-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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh2
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}"