fetch-binaries 591 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. mkdir -p dist/
  3. check_and_copy () {
  4. echo "--- EXE $2 -----------------------------------------------"
  5. vagrant ssh $1 -c "/vagrant/borg/borg.exe -V"
  6. vagrant scp $1:/vagrant/borg/borg.exe dist/$2
  7. echo "--- DIR $2 -----------------------------------------------"
  8. vagrant ssh $1 -c "/vagrant/borg/borg-dir/borg.exe -V"
  9. vagrant scp $1:/vagrant/borg/borg.tgz dist/$2.tgz
  10. echo ""
  11. }
  12. check_and_copy bullseye64 borg-linux-glibc231
  13. check_and_copy bookworm64 borg-linux-glibc236
  14. check_and_copy freebsd64 borg-freebsd
  15. check_and_copy darwin64 borg-macos