From: Zac Medico Date: Mon, 9 Sep 2013 17:10:22 +0000 (-0700) Subject: doins: use mktemp for private files, bug #484332 X-Git-Tag: v2.2.2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74197ee20c4c4d85c3db1334c70f029e342d7bb0;p=portage.git doins: use mktemp for private files, bug #484332 --- 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}