summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-05-06 14:18:55 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-24 03:54:18 +0200
commit1bd417dea1fd4d3d441aabfb5e93510319f63b2f (patch)
tree62612513314f50bb6774303ff52f92a8cd18d424
parent35dc9be4e69c89e830a12fef04a7d75710ccb9c8 (diff)
downloadtdeio-locate-1bd417dea1fd4d3d441aabfb5e93510319f63b2f.tar.gz
tdeio-locate-1bd417dea1fd4d3d441aabfb5e93510319f63b2f.zip
GCC 4.7 fixes.
Thanks to Francois Andriot. (cherry picked from commit 5ca3dca610d6591a09a930b749e539b9f2112704)
-rw-r--r--admin/kde.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/kde.py b/admin/kde.py
index 92e22a2..dfeefcb 100644
--- a/admin/kde.py
+++ b/admin/kde.py
@@ -781,7 +781,7 @@ def generate(env):
lenv.KDEinstall( 'KDEDOC', lenv.join(lang,destination), lenv.join(folder,'index.cache.bz2') )
if env['_INSTALL']:
- dir=lenv.join(lenv.getInstDirForResType('KDEDOC'), lang, destination)
+ dir=lenv.join(env['DESTDIR'], lenv.getInstDirForResType('KDEDOC'), lang, destination)
comp='mkdir -p %s && cd %s && rm -f common && ln -s ../common common' % (dir, dir)
lenv.Execute(comp)