Commit 20253ba0 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Rafael Monnerat

[playbook] Clean after work

Remove temporary directory after exection.

/reviewed-on nexedi/slapos.package!29
parent 514e713a
function cleanup {
rm -fr "$DFILE"
}
trap cleanup EXIT
HERE=`pwd` HERE=`pwd`
DFILE=`mktemp -d` DFILE=`mktemp -d`
TFILE="archive.tar.gz" TFILE="archive.tar.gz"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment