mirror of
https://github.com/borgbackup/borg.git
synced 2024-09-11 04:25:26 +03:00
add script for fetching borg binaries from VMs, fixes #7989
This commit is contained in:
parent
73a416830a
commit
cb62981ae7
21
scripts/fetch-binaries
Executable file
21
scripts/fetch-binaries
Executable file
@ -0,0 +1,21 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user