From eda19d0aea25e65bd66ff02537b11180feb611bd Mon Sep 17 00:00:00 2001 From: haturatu Date: Sun, 23 Feb 2025 22:36:56 +0900 Subject: =?UTF-8?q?fix:=20=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=81=82?= =?UTF-8?q?=E3=82=8B=E3=81=8B=E3=81=A9=E3=81=86=E3=81=8B=E3=81=AE=E5=88=A4?= =?UTF-8?q?=E5=AE=9A=E7=9B=B4=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lumebuild.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lumebuild.sh b/lumebuild.sh index a1f5abb..57450d2 100755 --- a/lumebuild.sh +++ b/lumebuild.sh @@ -73,9 +73,8 @@ if [ $? -eq 0 ]; then $WEBPSH cd $SRC_DIR/$POST_URL_DIR || exit - egrep "^comments:" "$(ls -tr | tail -1)" | grep "}" - if [ $? -eq 0 ]; then + if ! grep -A 1 -Eqi "^comments:" "$(ls -tr | tail -1)" | grep "}" ; then if [ "$FEDI_CMT" = "y" ]; then fedi_posts git_commit -- cgit v1.2.3