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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
caucase
Commits
8283ffeb
Commit
8283ffeb
authored
6 years ago
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell: Resist inputs starting with dashes.
parent
2261582d
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
shell/caucase.sh
shell/caucase.sh
+2
-2
No files found.
shell/caucase.sh
View file @
8283ffeb
...
...
@@ -938,7 +938,7 @@ EOF
crt
=
"
$(
getCertificate
"
${
ca_anon_url
}
/
${
mode_path
}
"
"
$csr_id
"
)
"
status
=
$?
test
$status
-ne
0
&&
return
$status
if
[
"
$crt_path
"
=
'
-'
]
;
then
if
[
"
x
$crt_path
"
=
'x
-'
]
;
then
printf
'%s\n'
"
$crt
"
else
if
[
-e
"
$crt_path
"
]
;
then
...
...
@@ -1002,7 +1002,7 @@ EOF
)
"
status
=
$?
test
$status
-ne
0
&&
return
$status
if
[
"
$csr_path
"
=
'
-'
]
;
then
if
[
"
x
$csr_path
"
=
'x
-'
]
;
then
printf
'%s\n'
"
$csr
"
else
printf
'%s\n'
"
$csr
"
>
"
$csr_path
"
...
...
This diff is collapsed.
Click to expand it.
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