提交 0296c0f2 编写于 作者: J Junkun

refine shell

上级 58d761f0
......@@ -15,8 +15,13 @@ local=`pwd`/local
utils=`pwd`/utils
conf=`pwd`/conf
[ -f $conf/test_spk.list ] || error_exit "$PROG: Eval-set speaker list not found.";
[ -f $conf/dev_spk.list ] || error_exit "$PROG: dev-set speaker list not found.";
function error_exit () {
echo -e "$@" >&2; exit 1;
}
PROG=$(basename $0)
[ -f $conf/test_spk.list ] || error_exit "$PROG line $LINENO: Eval-set speaker list not found.";
[ -f $conf/dev_spk.list ] || error_exit "$PROG line $LINENO: dev-set speaker list not found.";
# First check if the train & test directories exist (these can either be upper-
# or lower-cased
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册