mirror-repos.sh 645 B

1234567891011121314151617181920212223242526
  1. #!/bin/sh
  2. # ---------- ---------- ---------- ---------- ---------- ----------
  3. #NOTE: username and ampersand
  4. # xor
  5. # neither the username nor ampersand
  6. # ---------- ---------- ---------- ---------- ---------- ----------
  7. mirror() {
  8. mirrorsh=./make/mirror-repo.sh
  9. output=./src/$1
  10. remote=$2
  11. ${mirrorsh} ${output} ${remote}
  12. }
  13. ${url}=https://foo.bar/
  14. echo "Configure some mirror if available."
  15. #mirror peers ${url}peers.git
  16. #mirror peers-bounty-hunts ${url}peers-bounty-hunts.git
  17. #mirror peers-mirrors ${url}peers-mirrors.git
  18. #mirror peerskart ${url}peerskart.git
  19. #mirror librepup-website ${url}librepup-website.git