eden/tools/cpm/url-hash.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
159 B
Bash
Raw Normal View History

#!/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