1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-22 07:43:06 +00:00
borg/scripts/fetch-binaries

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

23 lines
678 B
Text
Raw Normal View History

#!/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 ""
}
2024-07-03 11:52:42 +00:00
check_and_copy buster borg-linux-glibc228
check_and_copy bullseye borg-linux-glibc231
check_and_copy bookworm borg-linux-glibc236
2024-07-03 11:52:42 +00:00
check_and_copy freebsd13 borg-freebsd13
check_and_copy freebsd14 borg-freebsd14
check_and_copy macos1012 borg-macos1012