Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/bin/sh




DOC_PATH=$CMSSW_BASE

if [ ! -d "$DOC_PATH/src/Documentation/DataFormats/python" ]; then
DOC_PATH=$CMSSW_RELEASE_BASE
fi

#echo $DOC_PATH

if [ $# -lt 1 ]; then
   python $DOC_PATH/src/Documentation/DataFormats/python/dataformats.py $DOC_PATH
exit 1
else
    python $DOC_PATH/src/Documentation/DataFormats/python/dataformats.py $DOC_PATH $1
fi