if [ "$TARGET" = "dvd" ] && $AUTHOR && ! $VMGM_ONLY && ! $DO_TITLESETS && ! $SWITCHED_MODE; then echo "Running dvdauthor to create the DVD filesystem" dvdauthor -x "$DVDAUTHOR_XML" 2>&1 | tee -a "$LOG_FILE.tmp" if [[ ${PIPESTATUS[0]} -ne 0 ]]; then runtime_error "There was a problem creating the DVD structure" fi strings "$LOG_FILE.tmp" >> "$LOG_FILE" && rm -f "$LOG_FILE.tmp" elif [ "$TARGET" = "svcd" ]; then