install.sh 665 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/bash
  2. #
  3. # ./install.sh [master | next]
  4. #
  5. # Download GamePlay resources from HTTP server and extract from ZIP
  6. #
  7. # Helps prevent repo bloat due to large binary files since they can
  8. # be hosted separately.
  9. #
  10. # prefix=http://www.gameplay3d.org
  11. # prefix=http://www.jimmydev.com
  12. # prefix=http://jfinale.appoverdrive.com
  13. prefix=http://jim.clicknect.com
  14. branchname=$1
  15. if [[ "$branchname" == "" ]]; then
  16. branchname="next"
  17. fi
  18. filename=gameplay-deps-$branchname
  19. echo Downloading $filename.zip from $prefix...
  20. curl -# -O $prefix/$filename.zip
  21. echo Extracting $filename.zip... please standby...
  22. unzip -q $filename.zip
  23. echo Cleaning up...
  24. rm $filename.zip
  25. echo Done.