diff options
author | 2017-12-28 15:50:53 +0000 | |
---|---|---|
committer | 2017-12-28 15:50:53 +0000 | |
commit | 2a4955492370d1149b1e5e591369aed43dfdec3a (patch) | |
tree | 983945248455c5389ede9ac3d0a828f21a23f712 | |
parent | README.ripped-headers: add self link to make repository more discoverable (diff) | |
download | gentoo-2a4955492370d1149b1e5e591369aed43dfdec3a.tar.gz gentoo-2a4955492370d1149b1e5e591369aed43dfdec3a.tar.bz2 gentoo-2a4955492370d1149b1e5e591369aed43dfdec3a.zip |
rip-headers.sh: try DISTDIR from portage before falling back to /usr/portage
-rw-r--r-- | src/patchsets/gentoo-headers/rip-headers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patchsets/gentoo-headers/rip-headers.sh b/src/patchsets/gentoo-headers/rip-headers.sh index 74577d53dc..0558ec35f9 100644 --- a/src/patchsets/gentoo-headers/rip-headers.sh +++ b/src/patchsets/gentoo-headers/rip-headers.sh @@ -9,7 +9,7 @@ src=linux-${ver} dst=gentoo-headers-base-${ver} if [ ! -d ${src} ] ; then - for srcdir in . /usr/portage/distfiles ; do + for srcdir in . "$(portageq distdir)" /usr/portage/distfiles ; do for ext in bz2 xz ; do srctar=${srcdir}/${src}.tar.${ext} if [ -e ${srctar} ] ; then |