slyfox      17/12/28 15:50:53

  Modified:             rip-headers.sh
  Log:
  rip-headers.sh: try DISTDIR from portage before falling back to /usr/portage

Revision  Changes    Path
1.17                 src/patchsets/gentoo-headers/rip-headers.sh

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?rev=1.17&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?rev=1.17&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gentoo-headers/rip-headers.sh?r1=1.16&r2=1.17

Index: rip-headers.sh
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gentoo-headers/rip-headers.sh,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- rip-headers.sh      10 Sep 2017 23:54:57 -0000      1.16
+++ rip-headers.sh      28 Dec 2017 15:50:53 -0000      1.17
@@ -9,7 +9,7 @@
 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




Reply via email to