From 5846b4b0940c3521ea5cc664355207a443beb7ae Mon Sep 17 00:00:00 2001 From: Steffen Schulz Date: Tue, 26 Apr 2022 20:47:02 +0200 Subject: [PATCH 1/4] cosmetic overhaul for compile_qemu_nyx.sh --- compile_qemu_nyx.sh | 151 ++++++++++++++++---------------------------- 1 file changed, 55 insertions(+), 96 deletions(-) diff --git a/compile_qemu_nyx.sh b/compile_qemu_nyx.sh index e36fe285f8..2d7ec6c466 100755 --- a/compile_qemu_nyx.sh +++ b/compile_qemu_nyx.sh @@ -1,5 +1,4 @@ #!/bin/bash -set -e # Copyright (C) 2021 Sergej Schumilo # @@ -18,12 +17,14 @@ set -e # You should have received a copy of the GNU General Public License # along with QEMU-PT. If not, see . +set -e if [ -z "$BASH_VERSION" ]; then exit 0 fi -error () { +error() +{ echo "$0: