From 20cf926045942214eec35731af86aede051c6fc8 Mon Sep 17 00:00:00 2001 From: b3nj5m1n Date: Thu, 28 Sep 2023 14:06:15 +0200 Subject: [PATCH 1/3] Fix skipping one program during check --- xdg-ninja.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdg-ninja.sh b/xdg-ninja.sh index 84260f54..712e4e17 100755 --- a/xdg-ninja.sh +++ b/xdg-ninja.sh @@ -230,7 +230,7 @@ do_check_programs() { " read -r name; read -r filename; read -r movable; read -r help; do check_file "$name" "$filename" "$movable" "$help" done < Date: Thu, 28 Sep 2023 14:11:57 +0200 Subject: [PATCH 2/3] Use variable for programs dir --- xdg-ninja.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdg-ninja.sh b/xdg-ninja.sh index 712e4e17..44a9b376 100755 --- a/xdg-ninja.sh +++ b/xdg-ninja.sh @@ -230,7 +230,7 @@ do_check_programs() { " read -r name; read -r filename; read -r movable; read -r help; do check_file "$name" "$filename" "$movable" "$help" done < Date: Sun, 7 Jan 2024 08:35:50 +0100 Subject: [PATCH 3/3] Refactor file processing logic in jq command --- xdg-ninja.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdg-ninja.sh b/xdg-ninja.sh index 44a9b376..fc1f1154 100755 --- a/xdg-ninja.sh +++ b/xdg-ninja.sh @@ -230,7 +230,7 @@ do_check_programs() { " read -r name; read -r filename; read -r movable; read -r help; do check_file "$name" "$filename" "$movable" "$help" done <