47 |
#options="$options -nc" ; checkOut=0 |
#options="$options -nc" ; checkOut=0 |
48 |
#options="$options -q" ; checkOut=0 |
#options="$options -q" ; checkOut=0 |
49 |
|
|
50 |
|
addExp=0 |
51 |
|
cvsArg="-d :pserver:cvsanon@mitgcm.org:/u/gcmpack" |
52 |
gcmDIR="MITgcm_$sfx" |
gcmDIR="MITgcm_$sfx" |
53 |
cd $TST_DIR |
cd $TST_DIR |
54 |
#- check for disk space: relative space (99%) or absolute (10.G): |
#- check for disk space: relative space (99%) or absolute (10.G): |
79 |
done ) |
done ) |
80 |
# ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean ) |
# ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean ) |
81 |
echo "cvs update of dir $gcmDIR :" |
echo "cvs update of dir $gcmDIR :" |
82 |
( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) 2>&1 |
( cd $gcmDIR ; cvs -q $cvsArg update -P -d ) 2>&1 |
83 |
RETVAL=$? |
RETVAL=$? |
84 |
if test "x$RETVAL" != x0 ; then |
if test "x$RETVAL" != x0 ; then |
85 |
echo "cvs update on '"`hostname`"' fail (return val=$RETVAL) => exit" |
echo "cvs update on '"`hostname`"' fail (return val=$RETVAL) => exit" |
95 |
rm -rf $gcmDIR |
rm -rf $gcmDIR |
96 |
fi |
fi |
97 |
# cvs co MITgcm |
# cvs co MITgcm |
98 |
cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1 |
cvs $cvsArg co -P -d $gcmDIR MITgcm > /dev/null 2>&1 |
99 |
|
if [ $addExp -ge 1 ]; then |
100 |
|
echo " add dir: offline_cheapaml (from Contrib:verification_other)" |
101 |
|
( cd $gcmDIR/verification ; cvs $cvsArg co -P -d offline_cheapaml \ |
102 |
|
MITgcm_contrib/verification_other/offline_cheapaml > /dev/null 2>&1 ) |
103 |
|
fi |
104 |
/usr/bin/find $gcmDIR -type d | xargs chmod g+rxs |
/usr/bin/find $gcmDIR -type d | xargs chmod g+rxs |
105 |
/usr/bin/find $gcmDIR -type f | xargs chmod g+r |
/usr/bin/find $gcmDIR -type f | xargs chmod g+r |
106 |
fi |
fi |