build: fix zig tarball download url
This commit is contained in:
		
							parent
							
								
									095293993b
								
							
						
					
					
						commit
						9a633aa2a9
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		
							
								
								
									
										5
									
								
								zig
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								zig
									
										
									
									
									
								
							|  | @ -45,10 +45,7 @@ get_zig() { | |||
|     ( | ||||
|         mkdir -p "$ZIGDIR" | ||||
|         cd "$ZIGDIR" | ||||
|         TARBALL="https://ziglang.org/builds/$ZIGVER.tar.xz" | ||||
|         if [ "$OS" == "freebsd" ]; then | ||||
|             TARBALL="https://ziglang.org/download/$VERSION/$ZIGVER.tar.xz" | ||||
|         fi | ||||
|         TARBALL="https://ziglang.org/download/$VERSION/$ZIGVER.tar.xz" | ||||
| 
 | ||||
|         if [ ! -d "$ZIGVER" ]; then | ||||
|             curl "$TARBALL" | tar -xJ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue