fix recognition issue

This commit is contained in:
KOWX712
2024-10-27 02:24:27 +08:00
parent dc85dfbe10
commit cf5b4d458d

View File

@@ -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"