From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D7F40138330 for ; Wed, 12 Oct 2016 16:28:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DE79E0B70; Wed, 12 Oct 2016 16:28:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7371E0B70 for ; Wed, 12 Oct 2016 16:28:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 120DF3414C1 for ; Wed, 12 Oct 2016 16:28:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C56AF2F4 for ; Wed, 12 Oct 2016 16:28:08 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1476046394.86bc7d59ec0c4b718ee7b3c7e62f8f05e61f747f.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/kde5.eclass X-VCS-Directories: eclass/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 86bc7d59ec0c4b718ee7b3c7e62f8f05e61f747f X-VCS-Branch: master Date: Wed, 12 Oct 2016 16:28:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cec81d42-b5f1-4397-af5e-84343f4c88e4 X-Archives-Hash: 187ff7231cc001a2caa4c37f08ee2d12 commit: 86bc7d59ec0c4b718ee7b3c7e62f8f05e61f747f Author: Andreas Sturmlechner gmail com> AuthorDate: Sun Oct 9 20:53:14 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Sun Oct 9 20:53:14 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=86bc7d59 kde5.eclass: Take care of empty po directory shipped by upstream Uncovered by dev-libs/kreport-3.0.0. eclass/kde5.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 45065af..52c432d 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -545,7 +545,7 @@ EOF if [[ -e CMakeLists.txt ]] ; then cmake_comment_add_subdirectory ${lang} fi - elif ! has ${lang/.po/} ${LINGUAS} ; then + elif [[ -f ${lang} ]] && ! has ${lang/.po/} ${LINGUAS} ; then if [[ ${lang} != CMakeLists.txt && ${lang} != ${PN}.pot ]] ; then rm ${lang} || die fi