Skip to content
Snippets Groups Projects
Commit 23d4711f authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'tar-checksum' into 'master'

Add tar checksum support (SHA-256)

See merge request !195
parents ef819984 c8ccdf46
No related branches found
No related tags found
1 merge request!195Add tar checksum support (SHA-256)
...@@ -85,6 +85,11 @@ function op { ...@@ -85,6 +85,11 @@ function op {
wget "$TAR" -O source.tar wget "$TAR" -O source.tar
fi fi
if [ -n "$TAR_SHA256" ]
then
sha256sum -c <<< "${TAR_SHA256} source.tar"
fi
if [ ! -d source ] if [ ! -d source ]
then then
mkdir source mkdir source
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment