#!/bin/bash
source exos-variables

NB_EXOS=`find $SOURCES/fred/ $SOURCES/vincent/ -maxdepth 1 -mindepth 1 -type d  | wc -l`
echo inscription du nombre d exos dans entree.html: $NB_EXOS exos. 

cd $RACINE
rm -rf entree.html.tmp
cat entree.html | $BIN/exos-nombre.perl $NB_EXOS > entree.html.tmp \
  && mv -f entree.html.tmp entree.html

