diff options
-rwxr-xr-x | kerl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -303,7 +303,7 @@ do_git_build() fi cd otp_src_git git branch -a | grep "$2" > /dev/null 2>&1 - if [ $? -ne 0 ]; then + if [ $? -eq 0 ]; then git checkout $2 > /dev/null 2>&1 else git checkout -b $2 origin/$2 > /dev/null 2>&1 |