summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-01 01:51:45 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-01 01:51:45 +0000
commitcad1320f8cf67ebf73feb59635e6952704601a75 (patch)
treef7809e63cec83060f0be282741c86dbb7ce01acc /app-misc/ca-certificates
parentold (diff)
downloadgentoo-2-cad1320f8cf67ebf73feb59635e6952704601a75.tar.gz
gentoo-2-cad1320f8cf67ebf73feb59635e6952704601a75.tar.bz2
gentoo-2-cad1320f8cf67ebf73feb59635e6952704601a75.zip
dont use -printf with find for lame BSD #153628
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'app-misc/ca-certificates')
-rw-r--r--app-misc/ca-certificates/ca-certificates-20050804.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/app-misc/ca-certificates/ca-certificates-20050804.ebuild b/app-misc/ca-certificates/ca-certificates-20050804.ebuild
index ca9ee916226a..6a2a8a6f09f8 100644
--- a/app-misc/ca-certificates/ca-certificates-20050804.ebuild
+++ b/app-misc/ca-certificates/ca-certificates-20050804.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20050804.ebuild,v 1.4 2006/10/17 06:55:49 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20050804.ebuild,v 1.5 2006/11/01 01:51:45 vapier Exp $
inherit eutils
@@ -26,8 +26,11 @@ src_unpack() {
src_install() {
cd "${D}"
tar zxf "${S}"/data.tar.gz || die "installing data failed"
- find "${D}"/usr/share/ca-certificates -name '*.crt' -printf '%P\n' \
- | sort > etc/ca-certificates.conf
+
+ (
+ cd "${D}"/usr/share/ca-certificates
+ find . -name '*.crt' | sort | cut -b3-
+ ) > etc/ca-certificates.conf
}
pkg_postinst() {