Make the scenario validating script validate embedded dialogs, if present
This commit is contained in:
@@ -43,6 +43,12 @@ for speech in $SCEN_PATH/towns/talk*.xml; do
|
|||||||
check-file dialogue "$speech"
|
check-file dialogue "$speech"
|
||||||
done
|
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
|
if [[ $SCEN_PATH = scenario ]]; then
|
||||||
rm -rf scenario
|
rm -rf scenario
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user