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 62BD91382F6 for ; Fri, 8 Jul 2016 17:20:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AE4A21C088; Fri, 8 Jul 2016 17:20:07 +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 A3E5021C088 for ; Fri, 8 Jul 2016 17:20:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 086553408DD for ; Fri, 8 Jul 2016 17:20:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 181962424 for ; Fri, 8 Jul 2016 17:20:01 +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: <1467986889.44a8df9ae3cdb3540aee15b6f8cd482932c3916a.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: 44a8df9ae3cdb3540aee15b6f8cd482932c3916a X-VCS-Branch: master Date: Fri, 8 Jul 2016 17:20:01 +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: 2674fea4-ab57-428c-8273-5e291dab098c X-Archives-Hash: c0f2e11c9aeb796ed46bfeac4594b88c commit: 44a8df9ae3cdb3540aee15b6f8cd482932c3916a Author: Andreas Sturmlechner gmail com> AuthorDate: Fri Jul 8 14:00:56 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Fri Jul 8 14:08:09 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=44a8df9a kde5.eclass: Don't remove existing po/${PN}.pot file eclass/kde5.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index e70827e..d49c1fa 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -486,7 +486,7 @@ kde5_src_prepare() { cmake_comment_add_subdirectory ${lang} fi elif ! has ${lang/.po/} ${LINGUAS} ; then - if [[ ${lang} != CMakeLists.txt ]] ; then + if [[ ${lang} != CMakeLists.txt && ${lang} != ${PN}.pot ]] ; then rm ${lang} || die fi fi