mirror of
				https://github.com/rancher/os.git
				synced 2025-11-03 23:40:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			236 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			236 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
set -e
 | 
						|
 | 
						|
cd $(dirname $0)/..
 | 
						|
 | 
						|
export OUTPUT=bin/host_ros
 | 
						|
 | 
						|
if [[ -e bin/ros && "$HOST_ARCH" = "$ARCH" ]]; then
 | 
						|
    echo Creating $OUTPUT
 | 
						|
    cp bin/ros $OUTPUT
 | 
						|
else
 | 
						|
    GOARCH=${HOST_ARCH} TOOLCHAIN= ./scripts/build-target
 | 
						|
fi
 |