blob: c1565b0ef9b63bae9fe35efe4a233abf7146e9f9 [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_williams5f3794c2006-12-18 03:28:03 +000013echo "save serialized state"
david_williamsf618ce42006-11-19 18:46:17 +000014cp releng.control/*.ser .
15
david_williams5f3794c2006-12-18 03:28:03 +000016echo "remove all of releng.control"
david_williamsf618ce42006-11-19 18:46:17 +000017rm -fr releng.control
18
david_williams5f3794c2006-12-18 03:28:03 +000019echo "check out head of releng.control from cvs"
david_williams42f9b242006-11-27 18:45:14 +000020cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/webtools export -r HEAD releng.control
david_williamsf618ce42006-11-19 18:46:17 +000021
david_williams5f3794c2006-12-18 03:28:03 +000022echo "restore serialized state"
david_williamsf618ce42006-11-19 18:46:17 +000023mv *.ser releng.control
24
david_williams42f9b242006-11-27 18:45:14 +000025# make sure releng.control files are executable and in proper format
david_williams5f3794c2006-12-18 03:28:03 +000026dos2unix releng.control/*.sh* releng.control/**/*.properties releng.control/*.xml
david_williamsf618ce42006-11-19 18:46:17 +000027chmod +x releng.control/*.sh
28