From a8b04d24d53025aaa72f899380b1bd1ff1b44b8a Mon Sep 17 00:00:00 2001 From: KeybadeBlox Date: Sun, 1 Feb 2026 15:36:35 -0500 Subject: [PATCH] Fix POSIX shell compatibility of delink script Accidentally used == for a comparison instead of =, while only the latter is in the standard. Ref. https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html --- delink/delink.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delink/delink.sh b/delink/delink.sh index 161fda4..dab87b2 100755 --- a/delink/delink.sh +++ b/delink/delink.sh @@ -17,7 +17,7 @@ main() { set -- $line set +f; IFS=$IFS_PREV - if [ "$2" == true ]; then # If object is marked for extraction + if [ "$2" = true ]; then # If object is marked for extraction object_name=$1 printf '\n--- %s ---\n' "$object_name"