foamCleanPath: Changed sed delimiter from '@' to '|' to allow Email addresses

Patch contributed by Bruno Santos
http://bugs.openfoam.org/view.php?id=2306
This commit is contained in:
Henry Weller
2016-10-25 17:06:59 +01:00
parent 1b51b7743b
commit 8a87558577

View File

@ -107,7 +107,7 @@ do
##DEBUG echo "remove>$wildcard<" 1>&2 ##DEBUG echo "remove>$wildcard<" 1>&2
if [ -n "$wildcard" ] if [ -n "$wildcard" ]
then then
dirList=$(echo "$dirList:" | sed -e "s@${wildcard}[^:]*:@@g") dirList=$(echo "$dirList:" | sed -e "s|${wildcard}[^:]*:||g")
fi fi
done done