Changed copy method for linux and mason latest
This commit is contained in:
parent
1377852020
commit
93d59cde02
1 changed files with 2 additions and 4 deletions
|
@ -24,11 +24,9 @@ function mason_compile {
|
||||||
done;
|
done;
|
||||||
fi;
|
fi;
|
||||||
python -c "data=open('$MASON_PREFIX/bin/mapnik-config','r').read();open('$MASON_PREFIX/bin/mapnik-config','w').write(data.replace('$HERE','.'))"
|
python -c "data=open('$MASON_PREFIX/bin/mapnik-config','r').read();open('$MASON_PREFIX/bin/mapnik-config','w').write(data.replace('$HERE','.'))"
|
||||||
mkdir -p ${MASON_PREFIX}/share/gdal
|
|
||||||
mkdir -p ${MASON_PREFIX}/share/proj
|
|
||||||
mkdir -p ${MASON_PREFIX}/share/icu
|
mkdir -p ${MASON_PREFIX}/share/icu
|
||||||
cp -r $GDAL_DATA/ ${MASON_PREFIX}/share/gdal/
|
cp -r $GDAL_DATA ${MASON_PREFIX}/share/
|
||||||
cp -r $PROJ_LIB/ ${MASON_PREFIX}/share/proj/
|
cp -r $PROJ_LIB ${MASON_PREFIX}/share/
|
||||||
cp -r $ICU_DATA/*dat ${MASON_PREFIX}/share/icu/
|
cp -r $ICU_DATA/*dat ${MASON_PREFIX}/share/icu/
|
||||||
find ${MASON_PREFIX} -name "*.pyc" -exec rm {} \;
|
find ${MASON_PREFIX} -name "*.pyc" -exec rm {} \;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue