diff options
author | 2024-05-03 07:32:30 +0100 | |
---|---|---|
committer | 2024-05-03 07:32:45 +0100 | |
commit | 75ea57c14a00760dddbde6f1c0c3d9abe3e55632 (patch) | |
tree | 36ee5948aff3a035e7d4ed08bf3b1867366e3ffe | |
parent | testing.txt: update test command (diff) | |
download | linux-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-x | rip-headers.sh | 2 |
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 |