1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-08 17:45:24 +02:00
cdt/releng/org.eclipse.rse.build/fetchBuilder.rb

16 lines
464 B
Ruby

#!/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")