summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}"