From c997b16db456d397bb43e42911cff29217753118 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 26 Jun 2019 13:59:45 +0200 Subject: [PATCH] TUT: add '-n' when linking tutorial directory --- tutorials/verificationAndValidation/turbulentInflow/Allrun | 4 ++-- .../verificationAndValidation/turbulentInflow/Allrun-parallel | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/verificationAndValidation/turbulentInflow/Allrun b/tutorials/verificationAndValidation/turbulentInflow/Allrun index ca52beb8cf..5ee1231e57 100755 --- a/tutorials/verificationAndValidation/turbulentInflow/Allrun +++ b/tutorials/verificationAndValidation/turbulentInflow/Allrun @@ -14,8 +14,8 @@ for modelType in $modelTypes do echo echo "Running with model: $modelType" - (cd 0 && ln -sf "inlet.$modelType" inlet) - (cd constant/boundaryData && ln -sf "inlet.$modelType" inlet) + (cd 0 && ln -snf "inlet.$modelType" inlet) + (cd constant/boundaryData && ln -snf "inlet.$modelType" inlet) runApplication -s "$modelType" pimpleFoam ./createGraphs diff --git a/tutorials/verificationAndValidation/turbulentInflow/Allrun-parallel b/tutorials/verificationAndValidation/turbulentInflow/Allrun-parallel index 172333c612..a90dd69688 100755 --- a/tutorials/verificationAndValidation/turbulentInflow/Allrun-parallel +++ b/tutorials/verificationAndValidation/turbulentInflow/Allrun-parallel @@ -14,8 +14,8 @@ for modelType in $modelTypes do echo echo "Running with model: $modelType" - (cd 0 && ln -sf "inlet.$modelType" inlet) - (cd constant/boundaryData && ln -sf "inlet.$modelType" inlet) + (cd 0 && ln -snf "inlet.$modelType" inlet) + (cd constant/boundaryData && ln -snf "inlet.$modelType" inlet) runApplication -s "$modelType" decomposePar runParallel -s "$modelType" pimpleFoam