source:
PSPA/madxPSPA/testing/testCompileClient.py
@
452
Last change on this file since 452 was 430, checked in by , 11 years ago | |
---|---|
File size: 314 bytes |
Rev | Line | |
---|---|---|
[430] | 1 | #!/usr/bin/python |
2 | import os | |
3 | import shutil | |
4 | ||
5 | tag = "madX-4_01_23" | |
6 | ||
7 | currentDir = os.getcwd(); | |
8 | os.chdir('/user/nougaret/MAD-X-WINDOWS') | |
9 | shutil.rmtree('madX',ignore_errors=True); | |
10 | cmd = 'svn co svn+ssh://svn.cern.ch/reps/madx/tags/' + tag +'/madX'+ ' madX' | |
11 | os.system(cmd) | |
12 | os.chdir(currentDir) # back to initial location |
Note: See TracBrowser
for help on using the repository browser.