mirror of
https://github.com/ossrs/srs.git
synced 2025-10-17 16:01:47 +08:00
fix bug of commit script
This commit is contained in:
@@ -24,7 +24,7 @@ product_dir=$work_dir
|
||||
|
||||
# allow start script from any dir
|
||||
cd $work_dir && work_branch=`git branch -a|grep "*"|awk '{print $2}'` && commit_branch=2.0release && git checkout $commit_branch
|
||||
ret=$"; if [[ $ret -ne 0 ]]; then echo "switch branch failed. ret=$ret"; exit $ret; fi
|
||||
ret=$ret; if [[ $ret -ne 0 ]]; then echo "switch branch failed. ret=$ret"; exit $ret; fi
|
||||
echo "work branch is $work_branch"
|
||||
echo "commit branch is $commit_branch"
|
||||
|
||||
|
Reference in New Issue
Block a user