Only clean m4 artifacts when needed

This commit is contained in:
sn0w 2018-04-09 01:23:36 +02:00
parent 21ca781f1b
commit cacd9cb430

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