From 3e5f58753714e215cb5966954098aea6149c71a9 Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Mon, 26 Jul 2021 12:22:10 +0000 Subject: [PATCH] fix path.sh --- examples/aishell/s1/path.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/aishell/s1/path.sh b/examples/aishell/s1/path.sh index 4776c7571..6214c8ace 100644 --- a/examples/aishell/s1/path.sh +++ b/examples/aishell/s1/path.sh @@ -24,5 +24,5 @@ export PATH=${PATH}:${SRILM}/bin:${SRILM}/bin/i686-m64 export KALDI_ROOT=${MAIN_ROOT}/tools/kaldi [ -f $KALDI_ROOT/tools/env.sh ] && . $KALDI_ROOT/tools/env.sh export PATH=$PWD/utils/:$KALDI_ROOT/tools/openfst/bin:$PWD:$PATH -[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" && exit 1 -. $KALDI_ROOT/tools/config/common_path.sh +[ ! -f $KALDI_ROOT/tools/config/common_path.sh ] && echo >&2 "The standard file $KALDI_ROOT/tools/config/common_path.sh is not present -> Exit!" +. $KALDI_ROOT/tools/config/common_path.sh || true