You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			495 B
		
	
	
	
		
			Bash
		
	
			
		
		
	
	
			22 lines
		
	
	
		
			495 B
		
	
	
	
		
			Bash
		
	
#!/bin/bash
 | 
						|
 | 
						|
# Copyright (c) 2012 Google Inc. All rights reserved.
 | 
						|
# Use of this source code is governed by a BSD-style license that can be
 | 
						|
# found in the LICENSE file.
 | 
						|
 | 
						|
OS="$(uname -s)"
 | 
						|
 | 
						|
if [ "${OS}" = "Linux" ]; then
 | 
						|
  exec ninja-linux64 "$@"
 | 
						|
elif [ "${OS}" = "Darwin" ]; then
 | 
						|
  exec ninja-mac "$@"
 | 
						|
elif [[ ${OS} == CYGWIN* ]]; then
 | 
						|
  exec cmd.exe /c `cygpath -t windows $0`.bat "$@"
 | 
						|
elif [[ ${OS} == MINGW32* ]]; then
 | 
						|
  cmd.exe //c $0.bat "$@"
 | 
						|
else
 | 
						|
  echo "Unsupported OS ${OS}"
 | 
						|
  exit 1
 | 
						|
fi
 | 
						|
 |