Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
3e3161c7
Commit
3e3161c7
authored
Feb 07, 2018
by
neilpang
Browse files
fix format
parent
694af4ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_yandex.sh
View file @
3e3161c7
...
@@ -71,7 +71,7 @@ _PDD_get_domain() {
...
@@ -71,7 +71,7 @@ _PDD_get_domain() {
for
d
in
$__all_domains
;
do
for
d
in
$__all_domains
;
do
if
[
"
$d
"
=
"
$__t
"
]
;
then
if
[
"
$d
"
=
"
$__t
"
]
;
then
p
=
$(
_math
$k
- 1
)
p
=
$(
_math
$k
- 1
)
curSubdomain
=
"
$(
echo
"
$fulldomain
"
|
cut
-d
.
-f
1-
$p
)
"
curSubdomain
=
"
$(
echo
"
$fulldomain
"
|
cut
-d
.
-f
"
1-
$p
"
)
"
echo
"
$__t
"
echo
"
$__t
"
return
return
fi
fi
...
...
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