Skip to content
Snippets Groups Projects
Commit c8ccdf46 authored by Nagy Tibor's avatar Nagy Tibor
Browse files

Add tar checksum support (SHA-256)

parent e1b87665
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,11 @@ function op {
wget "$TAR" -O source.tar
fi
if [ -n "$TAR_SHA256" ]
then
sha256sum -c <<< "${TAR_SHA256} source.tar"
fi
if [ ! -d source ]
then
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