blob: bcc1eb4b50be83772c704b973b8a70ba23a789f3 [file] [log] [blame]
#!/bin/sh
# This script file is to help get builds started "fresh", when
# the releng.control directory already exists on local file system.
# While it is in the cvs repository in releng.control, it is
# meant to be executed from the parent directory
# of releng.control on the file system.
# export is used, instead of checkout, just to avoid the CVS directories and since this code
# for a local build, there should never be a need to check it back in to CVS.
#
# save serialized state
cp releng.control/*.ser .
rm -fr releng.control
cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/webtools export -r HEAD releng.control
#restore serialized state
mv *.ser releng.control
# make sure releng.control files are executable and in proper format
dos2unix releng.control/*.sh* releng.control/*.properties releng.control/*.xml
chmod +x releng.control/*.sh