forked from public/airgap
1
0
Fork 0
airgap/scripts/clean

10 lines
270 B
Bash
Executable File

#!/bin/bash
[ -f /.dockerenv ] || { echo "please run in supplied container"; exit 1; }
set -e; source environment
build_dir="${BUILD_DIR?}"
release_dir="${RELEASE_DIR?}"
[ -d "${build_dir}" ] && rm -rf ${build_dir}/*
[ -d "${release_dir}" ] && rm -rf ${release_dir}/*