#!/bin/sh #------------------------------------------------------------------------------ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | # \\ / A nd | www.openfoam.com # \\/ M anipulation | #------------------------------------------------------------------------------ # Copyright (C) 2021 OpenCFD Ltd. #------------------------------------------------------------------------------ # License # This file is part of OpenFOAM, distributed under GPL-3.0-or-later. # # Script # etc/list-available # # Description # List available unpacked source versions # # checks: # - ThirdParty/PACKAGE # - ThirdParty/sources/PACKAGE # - ThirdParty/sources/canonical/PACKAGE # # Example usage # etc/list-available paraview # #------------------------------------------------------------------------------ . "${WM_THIRD_PARTY_DIR:?}"/etc/tools/ThirdPartyFunctions #------------------------------------------------------------------------------ printHelp() { cat<&2 ;; *) break ;; esac shift done if [ "$#" -gt 0 ] then listPackageVersions $optOutput "$@" else die "Did not specify any package(s)" fi #------------------------------------------------------------------------------