Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caucase
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
caucase
Commits
d30818ef
Commit
d30818ef
authored
Feb 12, 2021
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell/caucase.sh: Simplify renewCertificate locals declaration.
parent
56ae57a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
shell/caucase.sh
shell/caucase.sh
+2
-3
No files found.
shell/caucase.sh
View file @
d30818ef
...
@@ -366,9 +366,8 @@ renewCertificate () {
...
@@ -366,9 +366,8 @@ renewCertificate () {
# If created, key file permissions will be set so group and other have no
# If created, key file permissions will be set so group and other have no
# access.
# access.
# shellcheck disable=SC2039
# shellcheck disable=SC2039
local
url
=
"
$1
"
oldkey
=
"
$2
"
bits
=
"
$3
"
newcrt
=
"
$4
"
newkey
=
"
$5
"
emptyreqcnf
local
url
=
"
$1
"
oldkey
=
"
$2
"
bits
=
"
$3
"
newcrt
=
"
$4
"
newkey
=
"
$5
"
emptyreqcnf
\
# shellcheck disable=SC2039
newkeydata newcrtdata
local
newkeydata newcrtdata
emptyreqcnf
=
"
$(
mktemp
--suffix
=
emptyreq.cnf
)
"
emptyreqcnf
=
"
$(
mktemp
--suffix
=
emptyreq.cnf
)
"
cat
>
"
$emptyreqcnf
"
<<
EOF
cat
>
"
$emptyreqcnf
"
<<
EOF
...
...
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