Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2012 20:13:49 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Devin Teske <dteske@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r240843 - head/usr.sbin/bsdconfig/timezone/share
Message-ID:  <505FCFED.2000101@FreeBSD.org>
In-Reply-To: <201209222216.q8MMG7w2053948@svn.freebsd.org>
References:  <201209222216.q8MMG7w2053948@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/22/2012 15:16, Devin Teske wrote:
> -		if : 2> /dev/null > "$_PATH_DB"; then
> +		if true 2> /dev/null > "$_PATH_DB"; then
>  			cat <<-EOF > "$_PATH_DB"
>  			$zoneinfo
>  			EOF

Is there a reason you're not using mktemp here?

-- 

    I am only one, but I am one.  I cannot do everything, but I can do
    something.  And I will not let what I cannot do interfere with what
    I can do.
			-- Edward Everett Hale, (1822 - 1909)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?505FCFED.2000101>