summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrip-headers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rip-headers.sh b/rip-headers.sh
index 717405b..a5349db 100755
--- a/rip-headers.sh
+++ b/rip-headers.sh
@@ -13,7 +13,7 @@ dst=gentoo-headers-base-${ver}
distdir=$(portageq distdir)
if [ ! -d ${src} ] ; then
- for srcdir in . "${distdir}" /usr/portage/distfiles ; do
+ for srcdir in . "${distdir}" /var/cache/distfiles /usr/portage/distfiles ; do
for ext in bz2 xz ; do
srctar=${srcdir}/${src}.tar.${ext}
if [ -e ${srctar} ] ; then