gdal/gdal-cleaner.sh
2013-09-09 01:43:30 +02:00

26 lines
443 B
Bash
Executable File

#!/bin/bash
# Volker Fröhlich
VERSION="1.10.1"
tar xvfz 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
tar cvfJ gdal-"${VERSION}"-fedora.tar.xz gdal-"${VERSION}"-fedora