Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
98467036
Commit
98467036
authored
Nov 13, 2019
by
Mark OLESEN
Committed by
Andrew Heather
Nov 13, 2019
Browse files
STYLE: regularize quoting and exit on failed 'cd'
parent
297adc87
Changes
764
Hide whitespace changes
Inline
Side-by-side
Allwmake
View file @
98467036
#!/bin/sh
# Run from OPENFOAM top-level directory only
cd
${
0
%/*
}
&&
wmakeCheckPwd
"
$WM_PROJECT_DIR
"
2>/dev/null
||
{
cd
"
${
0
%/*
}
"
||
exit
wmakeCheckPwd
"
$WM_PROJECT_DIR
"
2>/dev/null
||
{
echo
"Error (
${
0
##*/
}
) : not located in
\$
WM_PROJECT_DIR"
echo
" Check your OpenFOAM environment and installation"
exit
1
...
...
applications/Allwmake
View file @
98467036
#!/bin/sh
# Run from OPENFOAM applications/ directory only
cd
${
0
%/*
}
&&
wmakeCheckPwd
"
$WM_PROJECT_DIR
/applications"
2>/dev/null
||
{
cd
"
${
0
%/*
}
"
||
exit
wmakeCheckPwd
"
$WM_PROJECT_DIR
/applications"
2>/dev/null
||
{
echo
"Error (
${
0
##*/
}
) : not located in
\$
WM_PROJECT_DIR/applications"
echo
" Check your OpenFOAM environment and installation"
exit
1
...
...
applications/solvers/DNS/dnsFoam/Allwmake
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/AllwmakeParseArguments
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/have_fftw
...
...
applications/solvers/compressible/rhoCentralFoam/Allwclean
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
wclean libso BCs
wclean
...
...
applications/solvers/compressible/rhoCentralFoam/Allwmake
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/AllwmakeParseArguments
(
wmake
$targetType
BCs
&&
wmake
$targetType
&&
wmake
$targetType
rhoCentralDyMFoam
)
...
...
applications/solvers/lagrangian/DPMFoam/Allwclean
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
wclean libso DPMTurbulenceModels
...
...
applications/solvers/lagrangian/DPMFoam/Allwmake
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
...
...
applications/solvers/multiphase/MPPICInterFoam/Allwclean
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
wclean libso CompressibleTwoPhaseMixtureTurbulenceModels
wclean
...
...
applications/solvers/multiphase/MPPICInterFoam/Allwmake
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
...
...
applications/solvers/multiphase/compressibleInterFoam/Allwclean
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
wclean libso twoPhaseMixtureThermo
wclean libso surfaceTensionModels
...
...
applications/solvers/multiphase/compressibleInterFoam/Allwmake
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
...
...
applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwclean
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
wclean libso multiphaseMixtureThermo
wclean
...
...
applications/solvers/multiphase/compressibleMultiphaseInterFoam/Allwmake
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
...
...
applications/solvers/multiphase/driftFluxFoam/Allwclean
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
wclean libso mixtureViscosityModels
wclean libso relativeVelocityModels
...
...
applications/solvers/multiphase/driftFluxFoam/Allwmake
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
...
...
applications/solvers/multiphase/icoReactingMultiphaseInterFoam/Allwclean
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
wclean libso phasesSystem
wclean libso massTransferModels
...
...
applications/solvers/multiphase/icoReactingMultiphaseInterFoam/Allwmake
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
...
...
applications/solvers/multiphase/interCondensatingEvaporatingFoam/Allwclean
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
wclean libso temperaturePhaseChangeTwoPhaseMixtures
wclean
...
...
applications/solvers/multiphase/interCondensatingEvaporatingFoam/Allwmake
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
${
WM_PROJECT_DIR
:?
}
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
...
...
applications/solvers/multiphase/interPhaseChangeFoam/Allwclean
View file @
98467036
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
wclean libso phaseChangeTwoPhaseMixtures
wclean
...
...
Prev
1
2
3
4
5
…
39
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment