Make the scenario validating script validate embedded dialogs, if present

This commit is contained in:
2015-07-10 14:46:21 -04:00
parent 21c5c98c24
commit 1863554154

View File

@@ -43,6 +43,12 @@ for speech in $SCEN_PATH/towns/talk*.xml; do
check-file dialogue "$speech"
done
if [[ -d $SCEN_PATH/dialogs/ ]]; then
for dlog in $SCEN_PATH/dialogs/*.xml; do
check-file dialog "$dlog"
done
fi
if [[ $SCEN_PATH = scenario ]]; then
rm -rf scenario
fi