mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Scripts: Add {} following -I option to xargs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1573
This commit is contained in:
@ -69,7 +69,7 @@ rm -rf platforms/*
|
||||
|
||||
echo "Cleaning Make sub-directories"
|
||||
find . -depth \( -name Make -o -name "Make.[A-Za-z]*" \) -type d -print | \
|
||||
xargs -I find '{}' -mindepth 1 -maxdepth 1 -type d -print | \
|
||||
xargs -I {} find '{}' -mindepth 1 -maxdepth 1 -type d -print | \
|
||||
xargs rm -rf
|
||||
|
||||
echo "Removing lnInclude directories"
|
||||
|
||||
@ -79,7 +79,7 @@ do
|
||||
echo "Cleaning machine type: $machType"
|
||||
|
||||
find . -depth \( -name Make -o -name "Make.[A-Za-z]*" \) -type d -print | \
|
||||
xargs -I find '{}' -mindepth 1 -maxdepth 1 \
|
||||
xargs -I {} find '{}' -mindepth 1 -maxdepth 1 \
|
||||
\( -type d -name "*$machType" -o -name "*$machType$WM_MPLIB" \) \
|
||||
-print | xargs rm -rf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user