File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ echo 'export BRANCH=$(echo $CIRCLE_BRANCH | grep -v '"'"'^\(master\|[0-9]\+.x\)$
3232echo  ' export PR_ENV=${BRANCH:+pr-$BRANCH}' >>  $BASH_ENV 
3333echo  ' export CIRCLE_ENV=ci-$CIRCLE_BUILD_NUM' >>  $BASH_ENV 
3434#  If we are on a pull request
35- if  [[ $CIRCLE_BRANCH  !=  " master" &&  -n  ${CIRCLE_PULL_REQUEST+x }  ]]
35+ if  [[ ${ CIRCLE_BRANCH}   !=  " master" &&  !   -z  ${CIRCLE_PULL_REQUEST}  ]]
3636then 
3737	#  Then use a pr- branch/multidev
3838	PR_NUMBER=${CIRCLE_PULL_REQUEST##*/ } 
@@ -95,4 +95,4 @@ echo "StrictHostKeyChecking no" >> "$HOME/.ssh/config"
9595git config --global user.email " $GIT_EMAIL " 
9696git config --global user.name " Circle CI" 
9797#  Ignore file permissions.
98- git config --global core.fileMode false 
98+ git config --global core.fileMode false 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments