scripts: move sets out of shebang
The makefile calls the scripts with `bash -x ...`, which overrides the shebang, so the -e is dropped.
This commit is contained in:
		
							parent
							
								
									c1d0a3e621
								
							
						
					
					
						commit
						3c57f8e0ab
					
				| @ -1,4 +1,7 @@ | ||||
| #!/bin/bash -xe | ||||
| #!/bin/bash | ||||
| 
 | ||||
| set -x | ||||
| set -e | ||||
| 
 | ||||
| # Build fs, image | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,7 @@ | ||||
| #!/bin/sh -xe | ||||
| #!/bin/bash | ||||
| 
 | ||||
| set -x | ||||
| set -e | ||||
| 
 | ||||
| #Build initramfs image | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,7 @@ | ||||
| #!/bin/sh -xe | ||||
| #!/bin/bash | ||||
| 
 | ||||
| set -x | ||||
| set -e | ||||
| 
 | ||||
| #Build kenerl, wifi firmware | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,7 @@ | ||||
| #!/bin/sh -xe | ||||
| #!/bin/bash | ||||
| 
 | ||||
| set -x | ||||
| set -e | ||||
| 
 | ||||
| #Runs Make menuconfig with the proper enviroment vars for cross compiling arm  | ||||
| #Grabs the file named config in resources/BuildResources directory, and updates it | ||||
|  | ||||
| @ -1,4 +1,7 @@ | ||||
| #!/bin/sh -xe | ||||
| #!/bin/bash | ||||
| 
 | ||||
| set -x | ||||
| set -e | ||||
| 
 | ||||
| # This file is part of PrawnOS (http://www.prawnos.com) | ||||
| # Copyright (c) 2018 Hal Emmerich <hal@halemmerich.com> | ||||
|  | ||||
| @ -1,4 +1,7 @@ | ||||
| #!/bin/sh -xe | ||||
| #!/bin/bash | ||||
| 
 | ||||
| set -x | ||||
| set -e | ||||
| 
 | ||||
| if [ -z "$1" ] | ||||
| then | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Austin English
						Austin English