commit: 75ea57c14a00760dddbde6f1c0c3d9abe3e55632
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 3 06:32:30 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 3 06:32:45 2024 +0000
URL:
https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=75ea57c1
rip-headers.sh: fallback to /var/cache/distfiles too
Signed-off-by: Sam James <sam <AT> gentoo.org>
rip-headers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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