diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2016-08-18 13:03:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-08-18 13:03:41 +0000 |
commit | 1289ac636847e81a75c0b5ad3b81a3ac6152c419 (patch) | |
tree | f88858013163da524366dd8e3296e539e1aa4298 /jjb/compass4nfv/compass-makeppa.sh | |
parent | 0b6595dfff8c4cd29a874fc6e697b63e0b57c92e (diff) | |
parent | eacedc13afa6ada61b483e198f97e2b9a78d3f2e (diff) |
Merge "For criteria of CII Best Practicess Badge"
Diffstat (limited to 'jjb/compass4nfv/compass-makeppa.sh')
-rw-r--r-- | jjb/compass4nfv/compass-makeppa.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jjb/compass4nfv/compass-makeppa.sh b/jjb/compass4nfv/compass-makeppa.sh index 83cc059c0..fc5db2389 100644 --- a/jjb/compass4nfv/compass-makeppa.sh +++ b/jjb/compass4nfv/compass-makeppa.sh @@ -6,12 +6,12 @@ set -o pipefail # make ppa cd $WORKSPACE/ ./build/make_repo.sh -# calc MD5 of ppa +# calc SHA512 of ppa cd $PPA_CACHE for i in $(find *.gz *.iso *.img -type f) do - md5=$(md5sum $i | cut -d ' ' -f1) - echo $md5 > $i.md5 + sha512sum=$(sha512sum $i | cut -d ' ' -f1) + echo $sha512sum > $i.sha512 curl -T $i $PPA_REPO - curl -T $i.md5 $PPA_REPO -done
\ No newline at end of file + curl -T $i.sha512 $PPA_REPO +done |