From: | "Sergei Trofimovich (slyfox)" <slyfox@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/gentoo-headers: rip-headers.sh |
Date: | Thu, 28 Dec 2017 15:50:59 |
Message-Id: | 20171228155053.9584BAFBD@oystercatcher.gentoo.org |
1 | slyfox 17/12/28 15:50:53 |
2 | |
3 | Modified: rip-headers.sh |
4 | Log: |
5 | rip-headers.sh: try DISTDIR from portage before falling back to /usr/portage |
6 | |
7 | Revision Changes Path |
8 | 1.17 src/patchsets/gentoo-headers/rip-headers.sh |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?rev=1.17&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?rev=1.17&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?r1=1.16&r2=1.17 |
13 | |
14 | Index: rip-headers.sh |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo/src/patchsets/gentoo-headers/rip-headers.sh,v |
17 | retrieving revision 1.16 |
18 | retrieving revision 1.17 |
19 | diff -u -r1.16 -r1.17 |
20 | --- rip-headers.sh 10 Sep 2017 23:54:57 -0000 1.16 |
21 | +++ rip-headers.sh 28 Dec 2017 15:50:53 -0000 1.17 |
22 | @@ -9,7 +9,7 @@ |
23 | dst=gentoo-headers-base-${ver} |
24 | |
25 | if [ ! -d ${src} ] ; then |
26 | - for srcdir in . /usr/portage/distfiles ; do |
27 | + for srcdir in . "$(portageq distdir)" /usr/portage/distfiles ; do |
28 | for ext in bz2 xz ; do |
29 | srctar=${srcdir}/${src}.tar.${ext} |
30 | if [ -e ${srctar} ] ; then |