foamCleanPath: Change sed separator to : to support directory names with @

This commit is contained in:
Henry 2013-08-05 15:18:11 +01:00
parent fd5cebcd47
commit ded58b23f9

View File

@ -126,7 +126,7 @@ do
if [ -e "$dir" ]
then
#- no duplicate dirs
duplicate=$(echo " $dirList " | sed -ne "s@ $dir @DUP@p")
duplicate=$(echo " $dirList " | sed -ne "s: $dir :DUP:p")
if [ ! "$duplicate" ]
then