eden/tools/cpm-hash.sh

5 lines
113 B
Bash
Raw Normal View History

#!/bin/sh
SUM=$(wget -q https://github.com/"$1"/archive/"$2".zip -O - | sha512sum)
echo "$SUM" | cut -d " " -f1