mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-06 18:53:53 +08:00
fix(ci): make Caddy check portable across awk implementations
This commit is contained in:
@@ -10,7 +10,7 @@ normalized_config=$(printf '%s\n' "$active_config" | awk '
|
||||
token = $field
|
||||
sub(/^["`]/, "", token)
|
||||
sub(/["`]$/, "", token)
|
||||
printf "%s%s", field == 1 ? "" : " ", token
|
||||
printf "%s%s", (field == 1 ? "" : " "), token
|
||||
}
|
||||
print ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user