GCC 4.7 fixes.

Thanks to Francois Andriot.
pull/1/head
Darrell Anderson 13 years ago
parent e5f8f38598
commit 5ca3dca610

@ -781,7 +781,7 @@ def generate(env):
lenv.KDEinstall( 'KDEDOC', lenv.join(lang,destination), lenv.join(folder,'index.cache.bz2') ) lenv.KDEinstall( 'KDEDOC', lenv.join(lang,destination), lenv.join(folder,'index.cache.bz2') )
if env['_INSTALL']: 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) comp='mkdir -p %s && cd %s && rm -f common && ln -s ../common common' % (dir, dir)
lenv.Execute(comp) lenv.Execute(comp)

Loading…
Cancel
Save