11 lines
		
	
	
	
		
			212 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			212 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
if [ ! -d /build ]; then
 | 
						|
  # shellcheck disable=2016
 | 
						|
  echo 'Please mount your sources in /build by adding "-v $(pwd):/build" to your docker command'
 | 
						|
  exit 1
 | 
						|
fi
 | 
						|
 | 
						|
cd /build || exit 1
 | 
						|
make "$@"
 | 
						|
exit $?
 |