From cf5b4d458d3741662981bdf02cbaeaceeac50f55 Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Sun, 27 Oct 2024 02:24:27 +0800 Subject: [PATCH] fix recognition issue --- module/common/UpdateTargetList.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/UpdateTargetList.sh b/module/common/UpdateTargetList.sh index c993765..8adf24e 100644 --- a/module/common/UpdateTargetList.sh +++ b/module/common/UpdateTargetList.sh @@ -26,7 +26,7 @@ fi # Read exclution and addition config EXCLUDE=$(grep -vE '^#|^$' "$MODDIR/EXCLUDE" | tr '\n' '|' | sed 's/|$//') -ADDITION=$(grep -vE '^#|^$' "$MODDIR/ADDITION") +ADDITION=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$MODDIR/ADDITION") # Create or overwrite the target.txt file echo "- Overwritting target.txt"