forked from rarias/bscpkgs
		
	exec: Abort on error
We need exit on the first error, as otherwise we cannot track a bad execution when no exec is done (when post is not empty).
This commit is contained in:
		
							parent
							
								
									5c2bd13c3d
								
							
						
					
					
						commit
						130fe39c8e
					
				| @ -25,7 +25,7 @@ stdenv.mkDerivation { | |||||||
|   phases = [ "installPhase" ]; |   phases = [ "installPhase" ]; | ||||||
|   installPhase = '' |   installPhase = '' | ||||||
|     cat > $out <<'EOF' |     cat > $out <<'EOF' | ||||||
|     #!/bin/sh |     #!/bin/sh -e | ||||||
|     ${env} |     ${env} | ||||||
| 
 | 
 | ||||||
|     ''+pre+'' |     ''+pre+'' | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user