mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: add constraint types for finiteArea tutorials
STYLE: accept '-proc' as shortcut in restore0Dir function
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
# \\/ M anipulation |
|
||||
#------------------------------------------------------------------------------
|
||||
# Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
# Copyright (C) 2015-2021 OpenCFD Ltd.
|
||||
# Copyright (C) 2015-2022 OpenCFD Ltd.
|
||||
#------------------------------------------------------------------------------
|
||||
# License
|
||||
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
|
||||
@ -468,7 +468,7 @@ restore0Dir()
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
-processor | -processors)
|
||||
-proc | -processor | -processors)
|
||||
echo "Restore 0/ from 0.orig/ [processor directories]"
|
||||
|
||||
\ls -d processor* | xargs -I {} \rm -rf ./{}/0
|
||||
|
||||
Reference in New Issue
Block a user