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