1 2 3 4 5 6 7 8 9 10 11 12 |
#!/usr/bin/env bash if [ -d xmloutput ]; then cd xmloutput bzr update cd .. else bzr co --lightweight lp:bzr-xmloutput xmloutput fi # get the SimpleXMLRPCServer.py module to be able to work with bzr.exe cp `python -c "import SimpleXMLRPCServer; print SimpleXMLRPCServer.__file__.replace('.pyc', '.py')"` xmloutput/ |