Files
uutils-coreutils/util/fetch-gnu.sh
2026-04-23 08:38:58 +02:00

13 lines
355 B
Bash
Executable File

#!/bin/bash -e
ver="9.11"
repo=https://github.com/coreutils/coreutils
curl -L "${repo}/releases/download/v${ver}/coreutils-${ver}.tar.xz" | tar --strip-components=1 -xJf -
# TODO stop backporting tests from master at GNU coreutils > $ver
exit 0
backport=(
)
for f in "${backport[@]}"
do curl -L ${repo}/raw/refs/heads/master/tests/$f > tests/$f
done