Commit 68582ca4 authored by yumaojun's avatar yumaojun

fix (install.py):  修复lockfile 创建失败问题

parent 62fb6429
......@@ -42,7 +42,7 @@ start() {
if [ $? == '0' ];then
success "$jump_start"
if [ ! -e $lockfile ]; then
lockfile_dir=`basename $lockfile`
lockfile_dir=`dirname $lockfile`
mkdir -pv $lockfile_dir
fi
touch "$lockfile"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment