1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-12 10:45:37 +02:00

Fix deleting build directory for nightly builds

This commit is contained in:
Martin Oberhuber 2006-08-24 08:32:25 +00:00
parent cb9c15e29a
commit ad459395c6

View file

@ -15,7 +15,10 @@ curdir=`pwd`
#Remove old logs and builds
echo "Removing old logs and builds..."
cd $HOME/ws
rm log-*.txt
rm log-N*.txt
if [ -d working/build ]; then
rm -rf working/build
fi
if [ -d working/package ]; then
rm -rf working/package
fi
@ -23,7 +26,7 @@ fi
#Do the main job
cd org.eclipse.rse.build
stamp=`date +'%Y%m%d-%H%M'`
log=$HOME/ws/log-$stamp.txt
log=$HOME/ws/log-N$stamp.txt
sg dsdp-tm-rse -c "touch $log"
sg dsdp-tm-rse -c "cvs -q update -RPd >> $log 2>&1"
daystamp=`date +'%Y%m%d-%H'`