1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-06 19:49:20 +00:00
borg/scripts/fetch-binaries
Thomas Waldmann 18a8baf8e2
revive the buster64 box
RHEL8 and clones are on this glibc version.
2024-06-02 19:23:49 +02:00

21 lines
637 B
Bash
Executable file

#!/bin/bash
mkdir -p dist/
check_and_copy () {
echo "--- EXE $2 -----------------------------------------------"
vagrant ssh $1 -c "/vagrant/borg/borg.exe -V"
vagrant scp $1:/vagrant/borg/borg.exe dist/$2
echo "--- DIR $2 -----------------------------------------------"
vagrant ssh $1 -c "/vagrant/borg/borg-dir/borg.exe -V"
vagrant scp $1:/vagrant/borg/borg.tgz dist/$2.tgz
echo ""
}
check_and_copy buster64 borg-linux-glibc228
check_and_copy bullseye64 borg-linux-glibc231
check_and_copy bookworm64 borg-linux-glibc236
check_and_copy freebsd64 borg-freebsd
check_and_copy darwin64 borg-macos