https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: d3d7b8653513c8f5110c4e3da6dce2d8c14f30fb authored by Dmitry Yu. Naumov on 06 April 2021, 19:09:18 UTC
Merge branch 'DoxygenFixes' into 'master'
Tip revision: d3d7b86
archive-testdata.sh
#!/bin/bash
if [[ $OSTYPE == darwin* ]]; then
    find ./Tests/Data -not -name "*.md5-stamp" -not -name "*expected*" -not -type d -exec bash -c 'mkdir -p ./tmp/`dirname {}`' \; -exec bash -c 'cp `grealpath {}` ./tmp/{}' \;
else
    find ./Tests/Data -not -name "*.md5-stamp" -not -name "*expected*" -not -type d -exec bash -c 'mkdir -p ./tmp/`dirname {}`' \; -exec bash -c 'cp `realpath {}` ./tmp/{}' \;
fi
pushd . > /dev/null
cd ./tmp/Tests/Data
tar zcf ogs6-data.tar.gz ./*
mv ogs6-data.tar.gz ../../../
zip -r -q ogs6-data .
mv ogs6-data.zip ../../../
popd > /dev/null
rm -rf tmp/
back to top