From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q2kXs-0000UH-Cj for garchives@archives.gentoo.org; Thu, 24 Mar 2011 13:25:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A2D31C03B; Thu, 24 Mar 2011 13:25:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 34D7D1C03B for ; Thu, 24 Mar 2011 13:25:40 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A127C1B40CB for ; Thu, 24 Mar 2011 13:25:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 09D628006A for ; Thu, 24 Mar 2011 13:25:39 +0000 (UTC) From: "Tomas Chvatal" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tomas Chvatal" Message-ID: <2cf377eb2c03c6648fc1570af073e2e3875df5df.scarabeus@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kdebase-startkde/files/ X-VCS-Repository: proj/kde X-VCS-Files: kde-base/kdebase-startkde/files/gentoo-startkde4-3.patch X-VCS-Directories: kde-base/kdebase-startkde/files/ X-VCS-Committer: scarabeus X-VCS-Committer-Name: Tomas Chvatal X-VCS-Revision: 2cf377eb2c03c6648fc1570af073e2e3875df5df Date: Thu, 24 Mar 2011 13:25:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 43cf35dad5237194637734a153cc94f0 commit: 2cf377eb2c03c6648fc1570af073e2e3875df5df Author: Tomas Chvatal gentoo org> AuthorDate: Thu Mar 24 13:25:31 2011 +0000 Commit: Tomas Chvatal gentoo org> CommitDate: Thu Mar 24 13:25:31 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3D2cf377eb kdebase-startkde fixup string comparsion to be posixish. --- .../files/gentoo-startkde4-3.patch | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kde-base/kdebase-startkde/files/gentoo-startkde4-3.patch b/k= de-base/kdebase-startkde/files/gentoo-startkde4-3.patch index 90c1ea2..13b30f0 100644 --- a/kde-base/kdebase-startkde/files/gentoo-startkde4-3.patch +++ b/kde-base/kdebase-startkde/files/gentoo-startkde4-3.patch @@ -12,7 +12,7 @@ +@REPLACE_LDPATH@ +export STRIGI_PLUGIN_PATH=3D"${_KDEDIR}/@REPLACE_LIBDIR@/strigi:${STRIG= I_PLUGIN_PATH}" +xdgs=3D$(echo ${XDG_DATA_DIRS} | sed 's/$/:/g;s#@GENTOO_PORTAGE_EPREFIX= @/usr/kde/[^/]*/share/\?:##g;s/:$//g') -+if [ "$xdgs" !=3D *"${_KDEDIR}/share"* ]; then ++if [ $(echo $xdgs |grep -c "${_KDEDIR}/share") -eq 0 ]; then + xdgs=3D"${_KDEDIR}/share:${xdgs}" +fi +export XDG_DATA_DIRS=3D${xdgs}