buildDocExports : Added export doc dir check

This commit is contained in:
Benjamin Renard 2009-11-13 18:19:30 +01:00
parent f7b6fbe143
commit d67235123c

View file

@ -18,6 +18,12 @@ then
exit 0
fi
if [ ! -d "$EXPORT_DOC_DIR" ]
then
echo "Error : Export directory $EXPORT_DOC_DIR does not exist !"
exit 2
fi
DOC_DIR=$ROOT_DIR/doc
TMP_DIR=`mktemp -d`
ERROR=0