Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
08a92b23
Commit
08a92b23
authored
Mar 15, 2018
by
Michal Zerola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed referencing the wrong env variable if SHA sum doesn't match.
parent
b335bfda
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
get
scripts/get
+1
-1
No files found.
scripts/get
View file @
08a92b23
...
@@ -134,7 +134,7 @@ installFile() {
...
@@ -134,7 +134,7 @@ installFile() {
local sum
=
$(
openssl sha1
-sha256
${
HELM_TMP_FILE
}
|
awk
'{print $2}'
)
local sum
=
$(
openssl sha1
-sha256
${
HELM_TMP_FILE
}
|
awk
'{print $2}'
)
local
expected_sum
=
$(
cat
${
HELM_SUM_FILE
})
local
expected_sum
=
$(
cat
${
HELM_SUM_FILE
})
if
[
"
$sum
"
!=
"
$expected_sum
"
]
;
then
if
[
"
$sum
"
!=
"
$expected_sum
"
]
;
then
echo
"SHA sum of
$
HELM_TMP
does not match. Aborting."
echo
"SHA sum of
$
{
HELM_TMP_FILE
}
does not match. Aborting."
exit
1
exit
1
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