From df6e0ebe2d5f79a74b16a5b0fde6ac6d12929de1 Mon Sep 17 00:00:00 2001 From: cmoulliard Date: Fri, 30 Aug 2024 17:34:06 +0200 Subject: [PATCH] Clean up folders Signed-off-by: cmoulliard --- scripts/install_buildpack_testing_environment.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/install_buildpack_testing_environment.sh b/scripts/install_buildpack_testing_environment.sh index cadf272..288eb6f 100644 --- a/scripts/install_buildpack_testing_environment.sh +++ b/scripts/install_buildpack_testing_environment.sh @@ -82,8 +82,16 @@ BINARY_DIR="./tmp" SOURCE_PATH="." BP_DIR=test-buildpack +print::colored_msg "${GREEN}" "Clean up folders" rm -rf $BP_DIR -mkdir -p $BP_DIR/${BINARY_DIR}; cd $BP_DIR +rm -rf ./bin +rm -rf $BINARY_DIR + +mkdir -p $BP_DIR/${BINARY_DIR} +mkdir -p $BINARY_DIR +mkdir -p ./bin + +cd $BP_DIR os=$(util::tools::os) arch=$(util::tools::arch)