Updated swak release version in AllClean.stage5
[foam-extend-3.0.git] / ThirdParty / AllClean.stage5
blob3c7dda3cc52f17906012a3eb216e623d152927bd
1 #!/bin/bash
2 #------------------------------------------------------------------------------
3 # ========= |
4 # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 # \\ / O peration |
6 # \\ / A nd | Copyright held by original author
7 # \\/ M anipulation |
8 #------------------------------------------------------------------------------
9 # License
10 # This file is part of OpenFOAM.
12 # OpenFOAM is free software: you can redistribute it and/or modify it
13 # under the terms of the GNU General Public License as published by
14 # the Free Software Foundation, either version 3 of the License, or
15 # (at your option) any later version.
17 # OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
18 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 # for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 # Script
26 # AllClean.stage1
28 # Description
29 # Cleaning script for ThirdParty packages: Stage5
31 # Author:
32 # Martin Beaudoin, Hydro-Quebec, (2013)
34 #------------------------------------------------------------------------------
35 # run from third-party directory only
36 cd ${0%/*} || exit 1
38 wmakeCheckPwd "$WM_THIRD_PARTY_DIR" || {
39 echo "Error: Current directory is not \$WM_THIRD_PARTY_DIR"
40 echo " The environment variables are inconsistent with the installation."
41 echo " Check the OpenFOAM entries in your dot-files and source them."
42 exit 1
44 . tools/makeThirdPartyFunctionsForRPM
45 #------------------------------------------------------------------------------
47 echo ========================================
48 echo Starting ThirdParty AllClean: Stage5
49 echo ========================================
50 echo
52 # swak4foam
53 pkg=swak4Foam-0.2.4
54 set -x
55 rm -rf $WM_THIRD_PARTY_DIR/rpmBuild/BUILD/${pkg}*
56 set +x
58 echo
59 echo ========================================
60 echo Done ThirdParty AllClean: Stage5
61 echo ========================================
62 echo
64 # ----------------------------------------------------------------- end-of-file