提交 765735b6 编写于 作者: W wangkuiyi 提交者: GitHub

Merge pull request #645 from reyoung/feature/improve_paddle_version_check

Add `set -e` for paddle boot up script.
......@@ -29,6 +29,7 @@ function version(){
}
function ver2num() {
set -e
# convert version to number.
if [ -z "$1" ]; then # empty argument
printf "%03d%03d%03d%03d%03d" 0
......@@ -41,6 +42,7 @@ function ver2num() {
printf "%03d%03d%03d%03d%03d" $VERN
fi
fi
set +e
}
PADDLE_CONF_HOME="$HOME/.config/paddle"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册