aboutsummaryrefslogtreecommitdiff
path: root/tools/cpm/url-hash.sh
blob: c911dacb37e74f73ee785b4ca1416554bd7c6891 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

# SPDX-FileCopyrightText: 2025 crueter
# SPDX-License-Identifier: GPL-3.0-or-later

SUM=$(wget -q "$1" -O - | sha512sum)
echo "$SUM" | cut -d " " -f1