summaryrefslogtreecommitdiff
path: root/lumebuild.sh
diff options
context:
space:
mode:
authorhaturatu <taro@eyes4you.org>2025-02-24 01:59:35 +0900
committerhaturatu <taro@eyes4you.org>2025-02-24 01:59:35 +0900
commit5cf88c288e871a56ffa0e3fcd87ee63224e1a613 (patch)
treea44659e506e68ffd5bdcf01df3a6daf87a8d74b2 /lumebuild.sh
parenteda19d0aea25e65bd66ff02537b11180feb611bd (diff)
fix: Fediverseに投稿する条件を修正
Diffstat (limited to 'lumebuild.sh')
-rwxr-xr-xlumebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lumebuild.sh b/lumebuild.sh
index 57450d2..26d678e 100755
--- a/lumebuild.sh
+++ b/lumebuild.sh
@@ -74,7 +74,7 @@ if [ $? -eq 0 ]; then
cd $SRC_DIR/$POST_URL_DIR || exit
- if ! grep -A 1 -Eqi "^comments:" "$(ls -tr | tail -1)" | grep "}" ; then
+ if grep -A 1 -E "^comments:" "$(ls -tr | tail -1)" | grep -qi "}" ; then
if [ "$FEDI_CMT" = "y" ]; then
fedi_posts
git_commit