TUT: add '-n' when linking tutorial directory

This commit is contained in:
Mark Olesen
2019-06-26 13:59:45 +02:00
committed by Andrew Heather
parent 51bb4e0037
commit c997b16db4
2 changed files with 4 additions and 4 deletions

View File

@ -14,8 +14,8 @@ for modelType in $modelTypes
do do
echo echo
echo "Running with model: $modelType" echo "Running with model: $modelType"
(cd 0 && ln -sf "inlet.$modelType" inlet) (cd 0 && ln -snf "inlet.$modelType" inlet)
(cd constant/boundaryData && ln -sf "inlet.$modelType" inlet) (cd constant/boundaryData && ln -snf "inlet.$modelType" inlet)
runApplication -s "$modelType" pimpleFoam runApplication -s "$modelType" pimpleFoam
./createGraphs ./createGraphs

View File

@ -14,8 +14,8 @@ for modelType in $modelTypes
do do
echo echo
echo "Running with model: $modelType" echo "Running with model: $modelType"
(cd 0 && ln -sf "inlet.$modelType" inlet) (cd 0 && ln -snf "inlet.$modelType" inlet)
(cd constant/boundaryData && ln -sf "inlet.$modelType" inlet) (cd constant/boundaryData && ln -snf "inlet.$modelType" inlet)
runApplication -s "$modelType" decomposePar runApplication -s "$modelType" decomposePar
runParallel -s "$modelType" pimpleFoam runParallel -s "$modelType" pimpleFoam