From 74197ee20c4c4d85c3db1334c70f029e342d7bb0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 9 Sep 2013 10:10:22 -0700 Subject: [PATCH] doins: use mktemp for private files, bug #484332 --- bin/ebuild-helpers/doins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins index bdcef4883..c60e05789 100755 --- a/bin/ebuild-helpers/doins +++ b/bin/ebuild-helpers/doins @@ -49,7 +49,7 @@ else PRESERVE_SYMLINKS=n fi -export TMP=$T/.doins_tmp +export TMP=$(mktemp -d "${T}/.doins_tmp_XXXXXX") # Use separate directories to avoid potential name collisions. mkdir -p "$TMP"/{1,2} -- 2.26.2