mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-04-29 22:24:28 +02:00
11 lines
203 B
Bash
Executable File
11 lines
203 B
Bash
Executable File
#!/bin/bash
|
|
set -xe
|
|
FNAME="$1"
|
|
URL="$2"
|
|
SHA512="$3"
|
|
SHAFILE="${FNAME}.sha512"
|
|
wget -O "${FNAME}" "${URL}"
|
|
trap "rm -f ${SHAFILE}" EXIT
|
|
echo "${SHA512} ${FNAME}" > "${SHAFILE}"
|
|
sha512sum -c "${SHAFILE}"
|