summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-06-04 13:50:10 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-06-04 13:50:10 +0000
commit985c16fb0000eb4a5518986124b1794aefca0193 (patch)
tree6587f5846b220fac5d0dc51b88a665023fe7c535 /eclass
parentVersion bump KDE 4.2.4 (diff)
downloadgentoo-2-985c16fb0000eb4a5518986124b1794aefca0193.tar.gz
gentoo-2-985c16fb0000eb4a5518986124b1794aefca0193.tar.bz2
gentoo-2-985c16fb0000eb4a5518986124b1794aefca0193.zip
Fix variable test. Thx to salnx per forums for the fix.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-base.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 0fcf3e27b78a..a054fc8118ab 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -1,6 +1,6 @@
# Copyright 2007-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.39 2009/06/04 09:29:54 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.40 2009/06/04 13:50:10 scarabeus Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@@ -426,7 +426,7 @@ kde4-base_pkg_setup() {
fi
done
unset slot
- [[ -z KDEDIR ]] && die "Failed to determine KDEDIR!"
+ [[ -z ${KDEDIR} ]] && die "Failed to determine KDEDIR!"
PREFIX="${PREFIX:-${ROOT}usr}"
fi