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

pull/111/head
yumaojun 2016-03-03 16:37:12 +08:00
parent 62fb6429f9
commit 68582ca466
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ start() {
if [ $? == '0' ];then if [ $? == '0' ];then
success "$jump_start" success "$jump_start"
if [ ! -e $lockfile ]; then if [ ! -e $lockfile ]; then
lockfile_dir=`basename $lockfile` lockfile_dir=`dirname $lockfile`
mkdir -pv $lockfile_dir mkdir -pv $lockfile_dir
fi fi
touch "$lockfile" touch "$lockfile"