mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use '&&', '||' instead of '-a' and '-o' for some shell commands
This commit is contained in:
@ -49,7 +49,7 @@ then
|
||||
# outside of ThirdParty and should be added to the path.
|
||||
|
||||
ending="${ADIOS_ARCH_PATH##*-}"
|
||||
if [ "$ending" != none -a "$ending" != system ]
|
||||
if [ "$ending" != none ] && [ "$ending" != system ]
|
||||
then
|
||||
# PATH was already cleaned by etc/bashrc caller
|
||||
_foamAddPath $ADIOS_ARCH_PATH/bin
|
||||
|
||||
Reference in New Issue
Block a user