27 |
for f in $flist ; do |
for f in $flist ; do |
28 |
b=`basename $f` |
b=`basename $f` |
29 |
echo -n Considering $b ... |
echo -n Considering $b ... |
30 |
if [ -e $ccfdir/$b -o -e $scisimdir/$b ] ; then |
if [ -e $ccfdir/$b -o -e $ccfrel/$b -o -e $scisimdir/$b ] ; then |
31 |
echo " it already exists. REJECTED." |
echo " it already exists. REJECTED." |
32 |
else |
else |
33 |
if [ -e $ccfdeveldir/$b ] ; then |
if [ -e $ccfdeveldir/$b ] ; then |
37 |
if [ $? -ne 0 ] ; then |
if [ $? -ne 0 ] ; then |
38 |
echo " validation stage failed. REJECTED." |
echo " validation stage failed. REJECTED." |
39 |
else |
else |
40 |
|
cp $f $ccfdeveldir || exit 1 |
41 |
echo " accepted into $ccfdeveldir." |
echo " accepted into $ccfdeveldir." |
42 |
cp $f $ccfdeveldir |
|
43 |
fi |
fi |
44 |
fi |
fi |
45 |
done |
done |