1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 01:45:33 +02:00

Moving from ruby to perl so that this can be run on build.eclipse.org

This commit is contained in:
David Dykstal 2006-06-07 01:42:00 +00:00
parent bfade85578
commit 52c43ecf8a
2 changed files with 2 additions and 18 deletions

View file

@ -7,14 +7,14 @@ chomp($answer);
$tag = $answer ? $answer : "HEAD";
$incantation = "cvs ";
$incantation .= "-d :pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp ";
$incantation .= '-d :pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp ';
$incantation .= "checkout ";
$incantation .= "-r ${tag} ";
$incantation .= "-d builder ";
$incantation .= "org.eclipse.tm.rse/releng/org.eclipse.rse.build ";
print($incantation);
#system($incantation);
system($incantation);
print("\n");
print("Builder has been fetched and is in the builder subdirectory\n");

View file

@ -1,16 +0,0 @@
#!/usr/bin/ruby
STDERR.print("Which tag do you want to fetch? (default is HEAD): ")
answer = readline().strip
tag = answer.empty? ? "HEAD" : answer
command = "cvs "
command += "-d :pserver:anonymous:none@dev.eclipse.org:/cvsroot/dsdp "
command += "checkout "
command += "-r #{tag} "
command += "-d builder "
command += "org.eclipse.tm.rse/releng/org.eclipse.rse.build "
system(command)
puts()
puts("Builder has been fetched and is in the builder subdirectory")