From 7d97e22b691c96a155007630104008d155fc08c0 Mon Sep 17 00:00:00 2001 From: Jarno Rankinen Date: Thu, 7 Mar 2024 23:16:23 +0200 Subject: [PATCH] Automatic build action, take 3 --- build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 5ab485d..c5ab2a1 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,6 @@ -#!/bin/bash +#!/bin/bash -x + +pwd if [[ "$1" == "-h" ]] || [[ "$1" == "--help" ]]; then echo -e "Usage: $0 [ARCH|-h|--help]" @@ -19,4 +21,4 @@ CGO_ENABLED=0 GOOS=linux GOARCH="$ARCH" go build -o "../BUILD/enervent-ctrl-${VE rm -rf ./* -popd &> /dev/null || exit 1 \ No newline at end of file +popd &> /dev/null || exit 1