mirror of https://git.envs.net/envs/burrow.git
switched gophermap sed line to use pipes as delimiter. avoids bugs with paths
This commit is contained in:
parent
ea10ed8356
commit
b6ea90a866
2
burrow
2
burrow
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue