summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-06-04 10:36:27 +0000
committerJustin Lecher <jlec@gentoo.org>2015-06-04 10:36:27 +0000
commitfdf46bffc8cf7481710871eef09161c3a006c14d (patch)
treec1082c757698dede3c30523a38c64e84c57c5aee
parentAdd pypi to remote-id in metadata.xml (diff)
downloadgentoo-2-fdf46bffc8cf7481710871eef09161c3a006c14d.tar.gz
gentoo-2-fdf46bffc8cf7481710871eef09161c3a006c14d.tar.bz2
gentoo-2-fdf46bffc8cf7481710871eef09161c3a006c14d.zip
Use path_exists from eutils.eclass
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/intel-sdp.eclass8
2 files changed, 8 insertions, 5 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 6aaa1981f295..1849568e4efa 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -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.1638 2015/06/04 10:22:33 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1639 2015/06/04 10:36:27 jlec Exp $
+
+ 04 Jun 2015; Justin Lecher <jlec@gentoo.org> intel-sdp.eclass:
+ Use path_exists from eutils.eclass
04 Jun 2015; Justin Lecher <jlec@gentoo.org> intel-sdp.eclass:
Fix homepage url for license registration, #538284; do a precheck instead fo
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 1f3c1026722a..b6b54b2caf12 100644
--- a/eclass/intel-sdp.eclass
+++ b/eclass/intel-sdp.eclass
@@ -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.20 2015/06/04 10:22:33 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.21 2015/06/04 10:36:27 jlec Exp $
# @ECLASS: intel-sdp.eclass
# @MAINTAINER:
@@ -112,7 +112,7 @@
# Full path to intel registry db
INTEL_SDP_DB="${EROOT%/}"/opt/intel/intel-sdp-products.db
-inherit check-reqs multilib versionator
+inherit check-reqs eutils multilib versionator
_INTEL_PV1=$(get_version_component_range 1)
_INTEL_PV2=$(get_version_component_range 2)
@@ -445,9 +445,9 @@ intel-sdp_src_install() {
fi
if [[ -d "${INTEL_SDP_DIR}"/man ]]; then
- ls "${INTEL_SDP_DIR}"/man/en_US/man1/* &> /dev/null &&
+ path_exists "${INTEL_SDP_DIR}"/man/en_US/man1/* && \
doman "${INTEL_SDP_DIR}"/man/en_US/man1/*
- ls "${INTEL_SDP_DIR}"/man/man1/* &> /dev/null &&
+ path_exists "${INTEL_SDP_DIR}"/man/man1/* && \
doman "${INTEL_SDP_DIR}"/man/man1/*
has linguas_ja ${IUSE} && use linguas_ja && \
doman -i18n=ja_JP "${INTEL_SDP_DIR}"/man/ja_JP/man1/*