1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine git sync script, checkout master

This commit is contained in:
winlin 2014-11-15 14:34:23 +08:00
parent bb5e99f562
commit 30d48905b3
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ work_dir=`(cd ${work_dir}/.. && pwd)`
product_dir=$work_dir
# allow start script from any dir
cd $work_dir
cd $work_dir && git checkout master
. ${product_dir}/scripts/_log.sh
ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi

View file

@ -14,7 +14,7 @@ work_dir=`(cd ${work_dir}/.. && pwd)`
product_dir=$work_dir
# allow start script from any dir
cd $work_dir
cd $work_dir && git checkout master
. ${product_dir}/scripts/_log.sh
ret=$?; if [[ $ret -ne 0 ]]; then exit $ret; fi