mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
add scripts/fetch-binaries
This commit is contained in:
parent
c128413b0e
commit
2e37ad0670
1 changed files with 23 additions and 0 deletions
23
scripts/fetch-binaries
Normal file
23
scripts/fetch-binaries
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#!/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 stretch64 borg-linuxold64
|
||||
check_and_copy buster64 borg-linux64
|
||||
check_and_copy bullseye64 borg-linuxnew64
|
||||
check_and_copy bookworm64 borg-linuxnewer64
|
||||
|
||||
check_and_copy freebsd64 borg-freebsd64
|
||||
|
||||
check_and_copy darwin64 borg-macos64
|
||||
|
||||
Loading…
Reference in a new issue