#/bin/sh -x # Example script for copr branch="master" release=patch repoUrl="https://develop.openfoam.com/Development/OpenFOAM-plus" specUrl="$repoUrl/wikis/packaging/common" curl "${specUrl}/create-tar.sh" > "create-tar.sh" sh ./create-tar.sh -branch="$branch" -release="$release" -dist # Fetch deps: git curl tar gzip sed # Results dir: . # Tarfile: find . -maxdepth 1 -name 'OpenFOAM*.tgz' # -----------------------------------------------------------------------------