blob: bcc1eb4b50be83772c704b973b8a70ba23a789f3 [file] [log] [blame]
david_williams42f9b242006-11-27 18:45:14 +00001#!/bin/sh
david_williamsf618ce42006-11-19 18:46:17 +00002
david_williams42f9b242006-11-27 18:45:14 +00003# This script file is to help get builds started "fresh", when
4# the releng.control directory already exists on local file system.
5# While it is in the cvs repository in releng.control, it is
6# meant to be executed from the parent directory
7# of releng.control on the file system.
david_williamsf618ce42006-11-19 18:46:17 +00008
9# export is used, instead of checkout, just to avoid the CVS directories and since this code
10# for a local build, there should never be a need to check it back in to CVS.
11#
12
david_williams4a980e42006-11-20 07:28:45 +000013# save serialized state
david_williamsf618ce42006-11-19 18:46:17 +000014cp releng.control/*.ser .
15
16rm -fr releng.control
17
david_williams42f9b242006-11-27 18:45:14 +000018cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/webtools export -r HEAD releng.control
david_williamsf618ce42006-11-19 18:46:17 +000019
david_williams3d8bf592006-11-28 19:35:04 +000020#restore serialized state
david_williamsf618ce42006-11-19 18:46:17 +000021mv *.ser releng.control
22
david_williams42f9b242006-11-27 18:45:14 +000023# make sure releng.control files are executable and in proper format
24dos2unix releng.control/*.sh* releng.control/*.properties releng.control/*.xml
david_williamsf618ce42006-11-19 18:46:17 +000025chmod +x releng.control/*.sh
26