eden/tools/cpm/url-hash.sh
crueter 240c2d14d4 [tools] refactor: reorganize, commonalities, moar tags, posix compat
all scripts are fully posix compliant

Signed-off-by: crueter <crueter@eden-emu.dev>
2025-10-05 03:04:18 +02:00

7 lines
161 B
Bash
Executable file

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