fetchreduce.sh 537 B

1234567891011121314151617181920212223242526
  1. #! /usr/bin/env bash
  2. # Fetch Reduce to a folder called "reduce-algebra"
  3. # Give a username as an argument if you have write-authority to the
  4. # sourceforge repository. E.g. I can go
  5. # fetchreduce.sh arthurcnorman
  6. # The object of having this file is so that JUST THIS single small file
  7. # can first be fetched manually. It can then be run to download all of
  8. # Reduce.
  9. if test "x$1" == "x"
  10. then
  11. p="svn://"
  12. else
  13. p="svn+ssh://${1}@"
  14. fi
  15. svn co \
  16. ${p}svn.code.sf.net/p/reduce-algebra/code/trunk \
  17. ${2:-reduce-algebra}
  18. # Done!