fix recognize error

This commit is contained in:
KOWX712
2024-10-28 22:29:50 +08:00
parent 07ab5f92b5
commit 5808080237
2 changed files with 3 additions and 3 deletions

View File

@@ -24,8 +24,8 @@ TS="/data/adb/tricky_store"
CONFIG_DIR="$TS/target_list_config"
MODNAME=$(grep '^id=' "$MODPATH/module.prop" | awk -F= '{print $2}' | xargs)
ORG_DIR="/data/adb/modules/$MODNAME"
EXCLUDE=$(grep -vE '^#|^$' "$CONFIG_DIR/EXCLUDE")
ADDITION=$(grep -vE '^#|^$' "$CONFIG_DIR/ADDITION")
EXCLUDE=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/EXCLUDE")
ADDITION=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/ADDITION")
if [ -d "$TS" ]; then
echo "- Tricky store module installed"