Unverified Commit c52feb37 authored by Matthew Brett's avatar Matthew Brett Committed by GitHub
Browse files

Merge pull request #246 from radarhere/rmdir

MRG: Remove temporary directory if empty

Clean up the temporary directory 'tmp_for_test' at the end of `install_run` if no files are left inside.
parents dfe4812e 2d3205ad
......@@ -337,6 +337,7 @@ function install_run {
install_wheel
mkdir tmp_for_test
(cd tmp_for_test && run_tests)
rmdir tmp_for_test 2>/dev/null
}
function fill_submodule {
......
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