diff --git a/publish.dbg b/publish.dbg index 81445df..fc8c9f5 100755 --- a/publish.dbg +++ b/publish.dbg @@ -42,7 +42,7 @@ function replace { file=$1 was=$2 now=$3 - cmd="sed -i 's|$was|$now|g' $file" + cmd="sed -i '' 's|$was|$now|g' $file" eval "$cmd" } # Rename references