fix: architecture on macos arm
This commit is contained in:
		
							parent
							
								
									42b7ad7c5c
								
							
						
					
					
						commit
						d0af97d72c
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		
							
								
								
									
										8
									
								
								zig
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								zig
									
										
									
									
									
								
							|  | @ -12,9 +12,13 @@ mkdir -p .cache/cdb | |||
| OS=$(uname) | ||||
| 
 | ||||
| if [ "$OS" == "Linux" ] ; then | ||||
| 	OS=linux | ||||
|     OS=linux | ||||
| elif [ "$OS" == "Darwin" ] ; then | ||||
| 	OS=macos | ||||
|     OS=macos | ||||
| fi | ||||
| 
 | ||||
| if [ "$ARCH" == "arm64" ] ; then | ||||
|     ARCH=aarch64 | ||||
| fi | ||||
| 
 | ||||
| ZIGVER="zig-$OS-$ARCH-$VERSION" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue