Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
7820467d
Commit
7820467d
authored
Aug 05, 2016
by
neil
Committed by
GitHub
Aug 05, 2016
Browse files
Merge pull request #255 from jim3mar/master
dns_cx.sh prefix and suffix domain bug fixed
parents
1e6b68f5
fe09757c
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cx.sh
View file @
7820467d
...
...
@@ -145,7 +145,7 @@ _get_root() {
fi
if
printf
"
$response
"
|
grep
"
$h
."
>
/dev/null
;
then
seg
=
$(
printf
"
$response
"
|
grep
-o
"{[^{]*
$h
\.
[^}]*
\}
"
)
seg
=
$(
printf
"
$response
"
|
grep
-o
"{[^{]*
\"
$h
\.
\"
[^}]*
\}
"
)
_debug seg
"
$seg
"
_domain_id
=
$(
printf
"
$seg
"
|
grep
-o
\"
id
\"
:
\"
[
^
\"
]
*
\"
|
cut
-d
:
-f
2 |
tr
-d
\"
)
_debug _domain_id
"
$_domain_id
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment