diff options
author | haturatu <taro@eyes4you.org> | 2025-02-24 01:59:35 +0900 |
---|---|---|
committer | haturatu <taro@eyes4you.org> | 2025-02-24 01:59:35 +0900 |
commit | 5cf88c288e871a56ffa0e3fcd87ee63224e1a613 (patch) | |
tree | a44659e506e68ffd5bdcf01df3a6daf87a8d74b2 | |
parent | eda19d0aea25e65bd66ff02537b11180feb611bd (diff) |
fix: Fediverseに投稿する条件を修正
-rwxr-xr-x | lumebuild.sh | 2 |
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 |