From 7a0fb04f49b1a5ee60eae522939c84e59a5ceb2e Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 21 Aug 2018 10:20:11 +0100 Subject: [PATCH] Cleanup the whole upload directory after a successful upload Signed-off-by: Michael Tremer --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e7494be..f73f97b 100755 --- a/build.sh +++ b/build.sh @@ -104,7 +104,7 @@ build() { # be retried with the next build. If that succeeded, the # build will be removed from disk. if sync; then - rm -rf "${build_path}" + rm -rf "${UPLOAD_DIR}" fi done -- 2.47.3