[11921] Improve MoveMapGen script to create mmaps directory if not exists - thanks to Bobi for pointing

This commit is contained in:
Schmoozerd 2012-02-07 15:20:35 +01:00
parent bccded7e4b
commit b03443c425
2 changed files with 10 additions and 1 deletions

View file

@ -100,8 +100,17 @@ createHeader()
echo "Used params: $PARAMS $OFFMESH" | tee -a $LOG_FILE
echo "Detailed log can be found in $DETAIL_LOG_FILE" | tee -a $LOG_FILE
echo "Start creating MoveMaps" | tee -a $DETAIL_LOG_FILE
echo
echo "Be PATIENT - This will take a long time and might also have gaps between visible changes on the console."
echo "WAIT until you are informed that 'creating MoveMaps' is 'finished'!"
}
# Create mmaps directory if not exist
if [ ! -d mmaps ]
then
mkdir mmaps
fi
# Param control
case "$1" in
"1" )