10 lines
		
	
	
		
			280 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			280 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
# Emit a msg to let user know this place was reached
 | 
						|
echo "Copying to /home"
 | 
						|
# Had a case where cp SEGVs, let's have diagnostics for it
 | 
						|
cp -a /mnt /home || { echo "cp: $?"; exit 1; }
 | 
						|
cd /home/mnt || { echo "cd: $?"; exit 1; }
 | 
						|
exec ./build
 | 
						|
echo "Failed to exec ./build"
 |