corrected -then- error

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1051 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
dolphin-test 2008-03-03 16:32:56 +00:00
commit e8620d4718

View file

@ -15,6 +15,8 @@ PEO_BUILD_TYPE=Debug
GENERATOR_LIST="Unix_Makefiles KDevelop3"
SLEEP_DELAY=120
if [ $# -lt 2 ]
then
echo
@ -28,8 +30,9 @@ export SSH_AGENT_PID=$2
# create a daily dir for the logs
DAY=`/bin/date '+%Y%m%d'`
if [ ! -d $TEST_DIR/logs/$DAY ] then
DAY=`/bin/date '+%Y-%m-%d'`
if [ ! -d $TEST_DIR/logs/$DAY ]
then
mkdir $TEST_DIR/logs/$DAY
fi
@ -95,6 +98,7 @@ for gen in $GENERATOR_LIST
echo "*** END Generator=$gen" >> $SPY
sleep $SLEEP_DELAY
done