diff --git a/Makefile b/Makefile index 67f3f9e..ae004b3 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ all: release release: compile $(REBAR) as emqtt_bench tar - @$(CURDIR)/scripts/rename-package.sh + $(CURDIR)/scripts/rename-package.sh compile: $(REBAR) $(REBAR) compile diff --git a/scripts/rename-package.sh b/scripts/rename-package.sh index 35f3079..d023404 100755 --- a/scripts/rename-package.sh +++ b/scripts/rename-package.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash set -euo pipefail +set -x cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")/.."