summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Sapp <nixphoeni@gentoo.org>2005-06-06 01:45:33 +0000
committerJoe Sapp <nixphoeni@gentoo.org>2005-06-06 01:45:33 +0000
commit38ab6505a74540e9104bb5d03b374e023d322c36 (patch)
tree1613fa6e1e941f71719cfc395f780425dbd3a3bc /eclass/gdesklets.eclass
parent3.7.0 version bump (diff)
downloadgentoo-2-38ab6505a74540e9104bb5d03b374e023d322c36.tar.gz
gentoo-2-38ab6505a74540e9104bb5d03b374e023d322c36.tar.bz2
gentoo-2-38ab6505a74540e9104bb5d03b374e023d322c36.zip
Used the PYTHON_DONTCOMPILE environment variable instead of addpredict to fix bug 90647
Diffstat (limited to 'eclass/gdesklets.eclass')
-rw-r--r--eclass/gdesklets.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/gdesklets.eclass b/eclass/gdesklets.eclass
index 9e7589cdd218..8dc310d4b28a 100644
--- a/eclass/gdesklets.eclass
+++ b/eclass/gdesklets.eclass
@@ -1,6 +1,6 @@
# Copyright 2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/eclass/gdesklets.eclass,v 1.2 2005/05/22 03:19:42 nixphoeni Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gdesklets.eclass,v 1.3 2005/06/06 01:45:33 nixphoeni Exp $
#
# Authors: Joe Sapp <nixphoeni@gentoo.org>
# Mike Gardiner <obz@gentoo.org>
@@ -141,8 +141,7 @@ gdesklets_src_install() {
for CTRL in ${CONTROL_INITS[@]}; do
cd `dirname ${CTRL}`
- addpredict /usr/lib/gdesklets # This absolutely must be fixed.
- CTRL_NAME=$( ${GDESKLETS_INST_DIR}/gdesklets-control-getid `pwd` )
+ CTRL_NAME=$( PYTHON_DONTCOMPILE=1 ${GDESKLETS_INST_DIR}/gdesklets-control-getid `pwd` )
einfo "Installing Control ${CTRL_NAME}"
# This creates the subdirectory of ${CTRL_NAME}
# in the global Controls directory