Re: [PATCH 2/2] [BUILTIN] respect eventual TMPDIR set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 22, 2010 at 12:23:38AM +0100, maximilian attems wrote:
> From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> 
> while merging upstream dash in klibc,
> noticed that klibc dash had grown that useful feature.
> 
> Signed-off-by: maximilian attems <max@xxxxxxx>

Patch applied.  BTW, please cc dash@xxxxxxxxxxxxxxx on all patch
submissions.

Thanks,

> ---
>  src/mkbuiltins |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/mkbuiltins b/src/mkbuiltins
> index 064cb76..e38ce4c 100644
> --- a/src/mkbuiltins
> +++ b/src/mkbuiltins
> @@ -37,7 +37,7 @@
>  
>  tempfile=tempfile
>  if ! type tempfile > /dev/null 2>&1; then
> -	tempfile='mktemp /tmp/mkbuiltins.XXXXXX'
> +	tempfile="mktemp ${TMPDIR:-/tmp}/builtin.XXXXXX"
>  fi
>  
>  trap 'rm -f $temp $temp2' EXIT
> -- 
> 1.7.0.2
> 

-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux