don't prepend temp DESTDIT prefix to mapnik_pluigins_dir

This commit is contained in:
Artem Pavlenko 2008-02-07 11:51:41 +00:00
parent 4a4af94e54
commit 84bd1fda6c

View file

@ -62,7 +62,7 @@ fontscollectionpath = mapniklibpath + '/fonts'
"""
exp = r"%s{2,}" % os.sep
mapnik_plugins_dir = re.sub(exp,os.sep,env['DESTDIR'] + '/' + env['PREFIX'] + '/'+env['LIBDIR_SCHEMA']+'/mapnik')
mapnik_plugins_dir = re.sub(exp,os.sep, env['PREFIX'] + '/'+env['LIBDIR_SCHEMA']+'/mapnik')
file('mapnik/paths.py','w').write(paths % (mapnik_plugins_dir,))
pymapnik = glob.glob('mapnik/*.py')