From 806c903b00c6315cef240b6add167c477e7d0871 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 24 May 2021 18:44:44 +0200 Subject: [PATCH] bugfix: remove superfluous "local", causing error in some shells --- widgets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets.sh b/widgets.sh index 4b36b35..35b8b70 100644 --- a/widgets.sh +++ b/widgets.sh @@ -14,7 +14,7 @@ c_tags="$_DATA/.index/tags.cache"; c_tagcategories="$_DATA/.index/tagcategories. if [ ! -s "$c_tags" -o ! -s "$c_tagcategories" ] \ || [ "$(find "$_DATA/" -path '*/.index/meta' -newer "$c_tags")" ] then - w_tags="$( local cn=1 + w_tags="$( cn=1 find "$_DATA/" -path '*/.index/meta' -print0 \ | xargs -r0 sed -r ' s;^.*\t.*\t.*\ttags=(.*)\tcomment=.*\t.*\r$;\1;; -- 2.39.2