File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ elif [ "$(limactl ls -f '{{ .Status }}' "$LIMA_INSTANCE" 2>/dev/null)" != "Runni
1515  exit  1
1616fi 
1717DOCKER=$( command -v " $DOCKER "   ||  true) 
18+ if  [ -n  " $DOCKER "   ];  then 
19+     [ " $( readlink -f -- " $DOCKER " ) "   =  " $( readlink -f -- " $0 " ) "   ] &&  DOCKER=" " 
20+ fi 
1821if  [ -n  " $DOCKER "   ];  then 
1922  DOCKER_HOST=$( limactl list " $LIMA_INSTANCE "   --format ' unix://{{.Dir}}/sock/docker.sock' ) 
2023  export  DOCKER_HOST
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ elif [ "$(limactl ls -f '{{ .Status }}' "$LIMA_INSTANCE" 2>/dev/null)" != "Runni
3131  exit  1
3232fi 
3333KUBECTL=$( command -v " $KUBECTL "   ||  true) 
34+ if  [ -n  " $KUBECTL "   ];  then 
35+     [ " $( readlink -f -- " $KUBECTL " ) "   =  " $( readlink -f -- " $0 " ) "   ] &&  KUBECTL=" " 
36+ fi 
3437if  [ -n  " $KUBECTL "   ];  then 
3538  KUBECONFIG=$( limactl list " $LIMA_INSTANCE "   --format ' {{.Dir}}/copied-from-guest/kubeconfig.yaml' ) 
3639  export  KUBECONFIG
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ elif [ "$(limactl ls -f '{{ .Status }}' "$LIMA_INSTANCE" 2>/dev/null)" != "Runni
1111  exit  1
1212fi 
1313PODMAN=$( command -v " $PODMAN "   ||  true) 
14+ if  [ -n  " $PODMAN "   ];  then 
15+     [ " $( readlink -f -- " $PODMAN " ) "   =  " $( readlink -f -- " $0 " ) "   ] &&  PODMAN=" " 
16+ fi 
1417if  [ -n  " $PODMAN "   ];  then 
1518  CONTAINER_HOST=$( limactl list " $LIMA_INSTANCE "   --format ' unix://{{.Dir}}/sock/podman.sock' ) 
1619  export  CONTAINER_HOST
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments