mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-22 07:43:56 +02:00
Moving from ruby to perl so that this can be run on build.eclipse.org
This commit is contained in:
parent
bfade85578
commit
52c43ecf8a
2 changed files with 2 additions and 18 deletions
|
@ -7,14 +7,14 @@ chomp($answer);
|
||||||
$tag = $answer ? $answer : "HEAD";
|
$tag = $answer ? $answer : "HEAD";
|
||||||
|
|
||||||
$incantation = "cvs ";
|
$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 .= "checkout ";
|
||||||
$incantation .= "-r ${tag} ";
|
$incantation .= "-r ${tag} ";
|
||||||
$incantation .= "-d builder ";
|
$incantation .= "-d builder ";
|
||||||
$incantation .= "org.eclipse.tm.rse/releng/org.eclipse.rse.build ";
|
$incantation .= "org.eclipse.tm.rse/releng/org.eclipse.rse.build ";
|
||||||
|
|
||||||
print($incantation);
|
print($incantation);
|
||||||
#system($incantation);
|
system($incantation);
|
||||||
|
|
||||||
print("\n");
|
print("\n");
|
||||||
print("Builder has been fetched and is in the builder subdirectory\n");
|
print("Builder has been fetched and is in the builder subdirectory\n");
|
||||||
|
|
|
@ -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")
|
|
Loading…
Add table
Reference in a new issue