summaryrefslogtreecommitdiff
path: root/replace_phrase.sh
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2023-03-10 21:25:13 +0600
committerGrail Finder <wohilas@gmail.com>2023-03-10 21:25:13 +0600
commit0e4a30f9b954abbd6f33d8243f30402c2a71b4a0 (patch)
treea626602b0fdf5214536878aefaa25e5ac5c512ce /replace_phrase.sh
parent481955c6ba61bb6d415f9a3a963a04931af95696 (diff)
Feat: make a working chain of scripts
cronjob works, but demands fullpaths everywhere
Diffstat (limited to 'replace_phrase.sh')
-rwxr-xr-xreplace_phrase.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/replace_phrase.sh b/replace_phrase.sh
index 1b61476..7ab4da8 100755
--- a/replace_phrase.sh
+++ b/replace_phrase.sh
@@ -14,4 +14,4 @@ echo "$phrase"
# just do oneline
phrase=$(echo $phrase | tr "\n" " ")
-sed -i -e "s|\(<p id=phrase>\)\(.*\)\(</p>\)|\1${phrase}\3|" index.html
+sed -i -e "s|\(<p id=phrase>\)\(.*\)\(</p>\)|\1${phrase}\3|" /home/grail/projects/web/grailblog/src/index.html