Commit cbcb7b7d authored by Ondřej Surý's avatar Ondřej Surý

Add KEEP_WORKDIR=yes option and don't delete WORKDIR if set from cmdline

parent ccbdd6a8
......@@ -21,4 +21,6 @@ echo "dig +dnssec +multi +time=60 +retry=1 -p ${PORT} @::1"
LD_LIBRARY_PATH=${WORKDIR}/lib ${WORKDIR}/sbin/kresd -a${PORT} -a ::1#${PORT} -v -k ${ROOT_KEY:-/usr/share/dns/root.key} ${WORKDIR}/run/kresd
rm -r ${WORKDIR}
if [ "${WORKDIR}" != "${2}" -a "${KEEP_WORKDIR}" != "yes" ]; then
rm -r ${WORKDIR}
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