fixed sed -i alignment

This commit is contained in:
James Tomasino 2018-03-31 22:20:52 -04:00
parent 170817a1eb
commit e981106dcc
1 changed files with 1 additions and 1 deletions

2
burrow
View File

@ -170,7 +170,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_server}\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 {