gdal/gdal-cleaner.sh

26 lines
442 B
Bash
Raw Normal View History

#!/bin/bash
# Volker Fröhlich
2014-10-02 08:35:28 +00:00
VERSION="1.11.1"
tar xvf gdal-"${VERSION}".tar.xz
mv gdal-"${VERSION}"{,-fedora} && pushd gdal-"${VERSION}"-fedora
rm data/cubewerx_extra.wkt
rm data/esri_extra.wkt
rm data/esri_Wisconsin_extra.wkt
rm data/esri_StatePlane_extra.wkt
rm data/ecw_cs.wkt
rm -r frmts/bsb
#Really necessary?
rm -r swig/php
popd
#TODO: Insert Provenance file
2013-09-08 23:43:30 +00:00
tar cvfJ gdal-"${VERSION}"-fedora.tar.xz gdal-"${VERSION}"-fedora