Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Jan 9, 2019
1 parent f4765d0 commit 7edb693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multi-v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ updateProject() {
if [[ -e multi-v2ray && -e multi-v2ray/.git ]];then
cd multi-v2ray

FIR_COMMIT_AUTHOR=$(git log --reverse | awk 'NR==2'| awk '{print $2}')
if [[ $FIR_COMMIT_AUTHOR == 'Jrohy' ]];then
COMMITTER_EMAIL=$(git log -1 --pretty=format:"%ae")
if [[ $COMMITTER_EMAIL =~ 'euvkzx' ]];then
git reset --hard HEAD && git clean -d -f
if [[ $FORCE == 1 ]]; then
git pull origin master
Expand Down

0 comments on commit 7edb693

Please sign in to comment.