public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher (jlec)" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog intel-sdp.eclass
Date: Mon, 15 Jun 2015 19:09:28 +0000 (UTC)	[thread overview]
Message-ID: <20150615190928.55C7EA30@oystercatcher.gentoo.org> (raw)

jlec        15/06/15 19:09:28

  Modified:             ChangeLog intel-sdp.eclass
  Log:
  Don't install uninstall informations, bug 551638; make use of path_exists()

Revision  Changes    Path
1.1664               eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1664&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1664&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1663&r2=1.1664

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1663
retrieving revision 1.1664
diff -u -r1.1663 -r1.1664
--- ChangeLog	15 Jun 2015 14:04:44 -0000	1.1663
+++ ChangeLog	15 Jun 2015 19:09:28 -0000	1.1664
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1663 2015/06/15 14:04:44 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1664 2015/06/15 19:09:28 jlec Exp $
+
+  15 Jun 2015; Justin Lecher <jlec@gentoo.org> intel-sdp.eclass:
+  Don't install uninstall informations, bug 551638; make use of path_exists()
 
   15 Jun 2015; Michael Palimaka <kensington@gentoo.org> kde4-base.eclass:
   Fix SRC_URI for 4.14.3



1.22                 eclass/intel-sdp.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/intel-sdp.eclass?rev=1.22&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/intel-sdp.eclass?rev=1.22&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/intel-sdp.eclass?r1=1.21&r2=1.22

Index: intel-sdp.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- intel-sdp.eclass	4 Jun 2015 10:36:27 -0000	1.21
+++ intel-sdp.eclass	15 Jun 2015 19:09:28 -0000	1.22
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.21 2015/06/04 10:36:27 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.22 2015/06/15 19:09:28 jlec Exp $
 
 # @ECLASS: intel-sdp.eclass
 # @MAINTAINER:
@@ -416,7 +416,13 @@
 # @DESCRIPTION:
 # Install everything
 intel-sdp_src_install() {
-	if [[ -d "${INTEL_SDP_DIR}"/Documentation ]]; then
+	if path_exists "${INTEL_SDP_DIR}"/uninstall*; then
+		ebegin "Cleaning out uninstall information"
+		find "${INTEL_SDP_DIR}"/uninstall* -delete || die
+		eend
+	fi
+
+	if path_exists "${INTEL_SDP_DIR}"/Documentation; then
 		dodoc -r "${INTEL_SDP_DIR}"/Documentation/*
 
 		ebegin "Cleaning out documentation"
@@ -424,7 +430,7 @@
 		eend
 	fi
 
-	if [[ -d "${INTEL_SDP_DIR}"/Samples ]]; then
+	if path_exists "${INTEL_SDP_DIR}"/Samples; then
 		if use examples ; then
 			insinto /usr/share/${P}/examples/
 			doins -r "${INTEL_SDP_DIR}"/Samples/*
@@ -434,7 +440,7 @@
 		eend
 	fi
 
-	if [[ -d "${INTEL_SDP_DIR}"/eclipse_support ]]; then
+	if path_exists "${INTEL_SDP_DIR}"/eclipse_support; then
 		if has eclipse ${IUSE} && use eclipse; then
 			_isdp_link_eclipse_plugins
 		else
@@ -444,7 +450,7 @@
 		fi
 	fi
 
-	if [[ -d "${INTEL_SDP_DIR}"/man ]]; then
+	if path_exists "${INTEL_SDP_DIR}"/man; then
 		path_exists "${INTEL_SDP_DIR}"/man/en_US/man1/* && \
 			doman "${INTEL_SDP_DIR}"/man/en_US/man1/*
 		path_exists "${INTEL_SDP_DIR}"/man/man1/* && \





             reply	other threads:[~2015-06-15 19:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 19:09 Justin Lecher (jlec) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-04 10:22 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog intel-sdp.eclass Justin Lecher (jlec)
2015-01-31 10:16 Jeroen Roovers (jer)
2014-09-15 17:54 Justin Lecher (jlec)
2014-02-21 16:07 Justin Lecher (jlec)
2013-02-14 16:29 Justin Lecher (jlec)
2013-02-14  8:17 Justin Lecher (jlec)
2012-12-05 19:41 Justin Lecher (jlec)
2012-09-16 15:59 Justin Lecher (jlec)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150615190928.55C7EA30@oystercatcher.gentoo.org \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox