正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -24,7 +24,7 @@ product_dir=$work_dir | @@ -24,7 +24,7 @@ product_dir=$work_dir | ||
24 | 24 | ||
25 | # allow start script from any dir | 25 | # allow start script from any dir |
26 | cd $work_dir && work_branch=`git branch -a|grep "*"|awk '{print $2}'` && commit_branch=2.0release && git checkout $commit_branch | 26 | cd $work_dir && work_branch=`git branch -a|grep "*"|awk '{print $2}'` && commit_branch=2.0release && git checkout $commit_branch |
27 | -ret=$"; if [[ $ret -ne 0 ]]; then echo "switch branch failed. ret=$ret"; exit $ret; fi | 27 | +ret=$ret; if [[ $ret -ne 0 ]]; then echo "switch branch failed. ret=$ret"; exit $ret; fi |
28 | echo "work branch is $work_branch" | 28 | echo "work branch is $work_branch" |
29 | echo "commit branch is $commit_branch" | 29 | echo "commit branch is $commit_branch" |
30 | 30 |
-
请 注册 或 登录 后发表评论