From b053ad0356b06a7f690f76a1fc9e63bd20ec29de Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 28 Feb 2017 11:27:28 +0000 Subject: [PATCH] tutorials/incompressible/pisoFoam/LES/motorBike: Removed unused $1 arguments to xargs Resolves bug-report https://bugs.openfoam.org/view.php?id=2475 --- .../incompressible/pisoFoam/LES/motorBike/lesFiles/Allrun | 6 +++--- .../incompressible/pisoFoam/LES/motorBike/motorBike/Allrun | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/incompressible/pisoFoam/LES/motorBike/lesFiles/Allrun b/tutorials/incompressible/pisoFoam/LES/motorBike/lesFiles/Allrun index be0ad68bf..9f1f3fed0 100755 --- a/tutorials/incompressible/pisoFoam/LES/motorBike/lesFiles/Allrun +++ b/tutorials/incompressible/pisoFoam/LES/motorBike/lesFiles/Allrun @@ -7,9 +7,9 @@ cp ../lesFiles/fvS* ../lesFiles/controlDict system/ cp ../lesFiles/turbulenceProperties constant/ -ls -d processor* | xargs -I {} rm -rf ./{}/0 $1 -ls -d processor* | xargs -I {} mv ./{}/500 ./{}/0 $1 -ls -d processor* | xargs -I {} rm -rf ./{}/0/uniform $1 +ls -d processor* | xargs -I {} rm -rf ./{}/0 +ls -d processor* | xargs -I {} mv ./{}/500 ./{}/0 +ls -d processor* | xargs -I {} rm -rf ./{}/0/uniform runParallel pisoFoam diff --git a/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/Allrun b/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/Allrun index 5001dcaa3..f52cb0448 100755 --- a/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/Allrun +++ b/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/Allrun @@ -19,7 +19,7 @@ runParallel snappyHexMesh -overwrite find . -type f -iname "*level*" -exec rm {} \; -ls -d processor* | xargs -I {} cp -r 0.orig ./{}/0 $1 +ls -d processor* | xargs -I {} cp -r 0.orig ./{}/0 runParallel renumberMesh -overwrite