From f85dade4039225c5f51c0514a63041dc7b786ddf Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Tue, 23 Jul 2024 10:46:59 -0700 Subject: [PATCH] fix dumb issue with zsh parsing or whatever in `notice` --- sh/notice | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/notice b/sh/notice index ea78c51..309e2b1 100755 --- a/sh/notice +++ b/sh/notice @@ -333,7 +333,7 @@ __notice_upload() { __notice_read_conf() { # TODO: ensure conf file is unreadable by others? while read -r line; do - line="${line%%#*}" # strip comments + line="${line%%"#"*}" # strip comments line="${line#"${line%%[! ]*}"}" # strip left line="${line%"${line##*[! ]}"}" # strip right if [ "${line#gotify=}" != "$line" ]; then