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

This commit is contained in:
yumaojun
2016-03-03 16:37:12 +08:00
parent 62fb6429f9
commit 68582ca466

View File

@@ -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"