Only clean m4 artifacts when needed

This commit is contained in:
Lukas Breuer 2018-04-09 01:23:36 +02:00
parent 5a32fbb873
commit d9923ce415

View File

@ -79,7 +79,7 @@ function prepare {
function cleanup {
log_info "Cleaning up"
rm docker-compose.yml
[[ -f docker-compose.yml ]] && rm docker-compose.yml
}
trap "cleanup" INT TERM EXIT