Small update to mason_latest

This commit is contained in:
Blake Thompson 2015-04-30 14:25:05 -05:00
parent 147602244b
commit baa7eae051

View file

@ -16,7 +16,7 @@ function mason_compile {
if [[ `uname` == 'Darwin' ]]; then
install_name_tool -id @loader_path/libmapnik.dylib ${MASON_PREFIX}"/lib/libmapnik.dylib";
for f in ${MASON_PREFIX}"/lib/mapnik/input/*.input"; do
install_name_tool -id @loader_pather/input/`basename $f` $f
install_name_tool -id @loader_pather/input/`basename $f` $f;
done;
fi;
python -c "data=open('$MASON_PREFIX/bin/mapnik-config','r').read();open('$MASON_PREFIX/bin/mapnik-config','w').write(data.replace('$HERE','.'))"