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