summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-27 04:46:46 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-27 04:46:46 +0000
commit27a1319754cd78001dc7bd91b176168efd73804b (patch)
treee89a72e9b80fad67b3ea1d6d957cd1ad28f3ae54 /bin
parentWhen copying symlink targets to temp files, use a private temp dir inside (diff)
downloadportage-multirepo-27a1319754cd78001dc7bd91b176168efd73804b.tar.gz
portage-multirepo-27a1319754cd78001dc7bd91b176168efd73804b.tar.bz2
portage-multirepo-27a1319754cd78001dc7bd91b176168efd73804b.zip
In dyn_unpack(), don't force a new unpack when the ebuild mtime is newer
than $WORKDIR, since that may be too touchy. The user can easily call the clean phase explicitly if they really want it. (trunk r13222) svn path=/main/branches/2.1.6/; revision=13223
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index d36c81e0..04cfe636 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -655,10 +655,7 @@ dyn_unpack() {
break
fi
done
- if [ "${EBUILD}" -nt "${WORKDIR}" ] && ! hasq keepwork ${FEATURES} ; then
- vecho ">>> ${EBUILD} has been updated; recreating WORKDIR..."
- newstuff="yes"
- elif [ ! -f "${PORTAGE_BUILDDIR}/.unpacked" ]; then
+ if [ ! -f "${PORTAGE_BUILDDIR}/.unpacked" ] ; then
vecho ">>> Not marked as unpacked; recreating WORKDIR..."
newstuff="yes"
fi