Skip to content

Commit

Permalink
test_subman.sh: Don't use --tmpdir
Browse files Browse the repository at this point in the history
test_subman.sh: Don't use --tmpdir since on most Linux-is it is consideren default
when creating a directory:
`If TEMPLATE is not specified, use tmp.XXXXXXXXXX, and --tmpdir is implied.`

And on FreeBSD --tmpdir is not available anyways.

Signed-off-by: Willem Jan Withagen <[email protected]>
  • Loading branch information
wjwithagen committed Nov 2, 2016
1 parent cece97d commit 0894865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/test_subman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source $(dirname $0)/detect-build-env-vars.sh

TMP=$(mktemp --tmpdir -d)
TMP=$(mktemp -d)
trap "rm -fr $TMP" EXIT

export PATH=$TMP:$PATH
Expand Down

0 comments on commit 0894865

Please sign in to comment.