mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
foamCleanPath: Change sed separator to : to support directory names with @
This commit is contained in:
@ -126,7 +126,7 @@ do
|
|||||||
if [ -e "$dir" ]
|
if [ -e "$dir" ]
|
||||||
then
|
then
|
||||||
#- no duplicate dirs
|
#- no duplicate dirs
|
||||||
duplicate=$(echo " $dirList " | sed -ne "s@ $dir @DUP@p")
|
duplicate=$(echo " $dirList " | sed -ne "s: $dir :DUP:p")
|
||||||
|
|
||||||
if [ ! "$duplicate" ]
|
if [ ! "$duplicate" ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user