正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -14,7 +14,7 @@ work_dir=`(cd ${work_dir}/.. && pwd)` | @@ -14,7 +14,7 @@ work_dir=`(cd ${work_dir}/.. && pwd)` | ||
14 | product_dir=$work_dir | 14 | product_dir=$work_dir |
15 | 15 | ||
16 | # allow start script from any dir | 16 | # allow start script from any dir |
17 | -cd $work_dir | 17 | +cd $work_dir && git checkout master |
18 | 18 | ||
19 | . ${product_dir}/scripts/_log.sh | 19 | . ${product_dir}/scripts/_log.sh |
20 | ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi | 20 | ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi |
@@ -14,7 +14,7 @@ work_dir=`(cd ${work_dir}/.. && pwd)` | @@ -14,7 +14,7 @@ work_dir=`(cd ${work_dir}/.. && pwd)` | ||
14 | product_dir=$work_dir | 14 | product_dir=$work_dir |
15 | 15 | ||
16 | # allow start script from any dir | 16 | # allow start script from any dir |
17 | -cd $work_dir | 17 | +cd $work_dir && git checkout master |
18 | 18 | ||
19 | . ${product_dir}/scripts/_log.sh | 19 | . ${product_dir}/scripts/_log.sh |
20 | ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi | 20 | ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi |
-
请 注册 或 登录 后发表评论