From 07106dea029be1b8d211eff8ab98c92afb6db6bc Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Tue, 16 Sep 2014 23:45:16 +1000 Subject: [eclass] Avoid code duplication as per review from pesa. --- eclass/kde5-functions.eclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'eclass/kde5-functions.eclass') diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index 524795030ca..18b0b1a8cdb 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -28,16 +28,15 @@ esac # This gets set to a non-zero value when a package is considered a kde or # kdevelop ebuild. if [[ ${CATEGORY} = kde-base ]]; then - debug-print "${ECLASS}: KDEBASE ebuild recognized" KDEBASE=kde-base elif [[ ${CATEGORY} = kde-frameworks ]]; then - debug-print "${ECLASS}: KDEFRAMEWORKS ebuild recognized" KDEBASE=kde-frameworks elif [[ ${KMNAME-${PN}} = kdevelop ]]; then - debug-print "${ECLASS}: KDEVELOP ebuild recognized" KDEBASE=kdevelop fi +debug-print "${ECLASS}: ${KDEBASE} ebuild recognized" + # @ECLASS-VARIABLE: KDE_SCM # @DESCRIPTION: # SCM to use if this is a live ebuild. -- cgit v1.2.3