Skip to content

Commit

Permalink
Remove the temporary directory on exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Doeme committed Oct 4, 2019
1 parent 4eef580 commit 6277bcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gebuilder/tests/20_test_stemgentoo_initialize.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

tmpdir="$(mktemp -d)"
on_exit "rm -rf \"${tmpdir}\""
pushd "${tmpdir}"
"$GEBUILDER_ENTRY" stemgentoo initialize
if [ "$?" -eq 0 ]
Expand Down

0 comments on commit 6277bcb

Please sign in to comment.