Re: svn commit: r240843 - head/usr.sbin/bsdconfig/timezone/share

2012-09-24 Thread Garrett Cooper
On Mon, Sep 24, 2012 at 9:45 AM, Devin Teske wrote: > > On Sep 23, 2012, at 8:13 PM, Doug Barton wrote: > >> 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

Re: svn commit: r240843 - head/usr.sbin/bsdconfig/timezone/share

2012-09-24 Thread Devin Teske
On Sep 23, 2012, at 8:13 PM, Doug Barton wrote: > 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 >>

Re: svn commit: r240843 - head/usr.sbin/bsdconfig/timezone/share

2012-09-23 Thread Doug Barton
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 m

svn commit: r240843 - head/usr.sbin/bsdconfig/timezone/share

2012-09-22 Thread Devin Teske
Author: dteske Date: Sat Sep 22 22:16:07 2012 New Revision: 240843 URL: http://svn.freebsd.org/changeset/base/240843 Log: jilles accurately advises that, in the context of shell redirection, the `:' builtin is processed specially and thus the `: > file' syntax for example will cause prematur