From 1bd417dea1fd4d3d441aabfb5e93510319f63b2f Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 6 May 2012 14:18:55 -0500 Subject: [PATCH] GCC 4.7 fixes. Thanks to Francois Andriot. (cherry picked from commit 5ca3dca610d6591a09a930b749e539b9f2112704) --- admin/kde.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)