remove-mirrors.sh 344 B

12345678910111213141516171819
  1. #!/bin/sh
  2. defaultPath=./src/hello-world
  3. #defaultRepo=https://github.com/leachim6/hello-world.git
  4. defaultName=backup
  5. src=plugins
  6. clonefile=remove-mirror-repos.sh
  7. clonepath=${src}/${clonefile}
  8. username=${1:-""}
  9. if [ -e ${clonepath} ] ; then
  10. sh ${clonepath} ${username}
  11. else
  12. ./make/remove-mirror-repo.sh ${defaultPath} ${defaultName}
  13. fi