summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-03 07:32:30 +0100
committerSam James <sam@gentoo.org>2024-05-03 07:32:45 +0100
commit75ea57c14a00760dddbde6f1c0c3d9abe3e55632 (patch)
tree36ee5948aff3a035e7d4ed08bf3b1867366e3ffe
parenttesting.txt: update test command (diff)
downloadlinux-headers-patches-75ea57c14a00760dddbde6f1c0c3d9abe3e55632.tar.gz
linux-headers-patches-75ea57c14a00760dddbde6f1c0c3d9abe3e55632.tar.bz2
linux-headers-patches-75ea57c14a00760dddbde6f1c0c3d9abe3e55632.zip
rip-headers.sh: fallback to /var/cache/distfiles too
Signed-off-by: Sam James <sam@gentoo.org>
-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