mirror of
				https://github.com/golang/go.git
				synced 2025-11-04 02:30:57 +00:00 
			
		
		
		
	
		
			
	
	
		
			15 lines
		
	
	
	
		
			441 B
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
	
		
			441 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								# Copyright 2018 The Go Authors. All rights reserved.
							 | 
						||
| 
								 | 
							
								# Use of this source code is governed by a BSD-style
							 | 
						||
| 
								 | 
							
								# license that can be found in the LICENSE file.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								SOURCE="${BASH_SOURCE[0]}"
							 | 
						||
| 
								 | 
							
								while [ -h "$SOURCE" ]; do
							 | 
						||
| 
								 | 
							
									DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
							 | 
						||
| 
								 | 
							
									SOURCE="$(readlink "$SOURCE")"
							 | 
						||
| 
								 | 
							
									[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
							 | 
						||
| 
								 | 
							
								done
							 | 
						||
| 
								 | 
							
								DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								exec node "$DIR/wasm_exec.js" "$@"
							 |