blob: c1565b0ef9b63bae9fe35efe4a233abf7146e9f9 [file] [log] [blame]
# 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.
echo "save serialized state"
cp releng.control/*.ser .
echo "remove all of releng.control"
rm -fr releng.control
echo "check out head of releng.control from cvs"
cvs -d export -r HEAD releng.control
echo "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