From 3edd956a9f7ccc487e3e0674c3dad130bba9db03 Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Thu, 14 Nov 2019 17:36:51 +0700 Subject: [PATCH] build-release.sh: cleanup dist before making dist --- build-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-release.sh b/build-release.sh index 876e5740cfdf..7a63611c8b43 100755 --- a/build-release.sh +++ b/build-release.sh @@ -37,7 +37,7 @@ build_dist() { echo "- Building platform: ${ALIAS} (" "${BUILD_ENV[@]}" "go build" "${BUILD_ARGS[@]}" ")" # Clean out any old remnants of failed builds. - rm -rf "dist/$DIR" + rm -rf "dist" mkdir -p "dist/$DIR" # Subshell to not mess with the current env vars or CWD