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:
Austin English 2020-05-09 04:00:02 -05:00
parent c1d0a3e621
commit 3c57f8e0ab
6 changed files with 24 additions and 6 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash -xe
#!/bin/bash
set -x
set -e
# Build fs, image

View File

@ -1,4 +1,7 @@
#!/bin/sh -xe
#!/bin/bash
set -x
set -e
#Build initramfs image

View File

@ -1,4 +1,7 @@
#!/bin/sh -xe
#!/bin/bash
set -x
set -e
#Build kenerl, wifi firmware

View File

@ -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

View File

@ -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>

View File

@ -1,4 +1,7 @@
#!/bin/sh -xe
#!/bin/bash
set -x
set -e
if [ -z "$1" ]
then