mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 13:16:59 +08:00
riot: proxy delimiter from comma (,) to slash (/)
This commit is contained in:
parent
37abe68d1f
commit
c5841e4aaa
|
@ -107,8 +107,8 @@ parse_remote() {
|
||||||
local jump_servers=""
|
local jump_servers=""
|
||||||
# loop for jump servers
|
# loop for jump servers
|
||||||
while [[ -n $remote ]]; do
|
while [[ -n $remote ]]; do
|
||||||
local server=${remote%%,*}
|
local server=${remote%%/*}
|
||||||
remote=${remote#*,}
|
remote=${remote#*/}
|
||||||
get_server_meta "$server"
|
get_server_meta "$server"
|
||||||
if [[ -n "$RET_JUMP_SERVER" ]]; then
|
if [[ -n "$RET_JUMP_SERVER" ]]; then
|
||||||
jump_servers="$jump_servers${jump_servers:+,}$RET_JUMP_SERVER"
|
jump_servers="$jump_servers${jump_servers:+,}$RET_JUMP_SERVER"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user