Skip to content
Snippets Groups Projects
Commit be6d03b1 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

simpler md5sum check

parent a0a93396
No related branches found
No related tags found
No related merge requests found
......@@ -32,9 +32,10 @@ task CheckFileMD5 {
}
command {
bash -c '
set -e -o pipefail
MD5SUM=$(md5sum ~{file} | cut -d ' ' -f 1)
[ "$MD5SUM" = '~{md5}' ]
echo "~{md5} ~{file}" | md5sum -c
'
}
runtime {
......
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