Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-03-20 15:10:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
720230b5f3228ee661a64f1d0fa2d71ebcec2f3e
720230b5
1 parent
264624c5
remove the sudo of log.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
trunk/scripts/_log.sh
trunk/scripts/_log.sh
查看文件 @
720230b
...
...
@@ -38,7 +38,7 @@ failed_msg(){
function
check_log
(){
log_dir
=
"
`
dirname
$log
`
"
(
mkdir -p
${
log_dir
}
&&
sudo
chmod 777
${
log_dir
}
&&
touch
$log
)
(
mkdir -p
${
log_dir
}
&&
chmod 777
${
log_dir
}
&&
touch
$log
)
ret
=
$?
;
if
[[
$ret
-ne 0
]]
;
then
failed_msg
"create log failed, ret=
$ret
"
;
return
$ret
;
fi
ok_msg
"create log(
${
log
}
) success"
...
...
请
注册
或
登录
后发表评论