switched gophermap sed line to use pipes as delimiter. avoids bugs with paths

This commit is contained in:
James Tomasino 2018-03-17 18:49:09 -04:00
parent ea10ed8356
commit b6ea90a866
1 changed files with 1 additions and 1 deletions

2
burrow
View File

@ -146,7 +146,7 @@ function day_suffix {
function update_gopher_root {
newdate=$(date +"%B %d$(day_suffix), %Y")
sed -i "s/.*Last\ Updated:.*/i ==== Last Updated: $newdate ====\t\t${config_gopher_root}\t${config_gopher_port}/" "${config_dir_gopher}/gophermap"
sed -i "s|.*Last\ Updated:.*|i ==== Last Updated: $newdate ====\t\t${config_gopher_server}\t${config_gopher_port}|" "${config_dir_gopher}/gophermap"
}
function check_directory {