gdal/gdal-cleaner.sh
Volker Froehlich a859a0fc59 Re-enable bsb format (BZ#1432330)
Don't delete the bsb sources in our tarball
2017-11-30 18:43:16 +01:00

24 lines
424 B
Bash
Executable File

#!/bin/bash
# Volker Fröhlich
VERSION="2.2.2"
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
#Really necessary?
rm -r swig/php
popd
#TODO: Insert Provenance file
tar cvfJ gdal-"${VERSION}"-fedora.tar.xz gdal-"${VERSION}"-fedora