Nice, Neil! You're on a roll. That's a good workaround, I'll get that  
in.

- Jamis

On Jan 12, 2007, at 12:05 PM, NeilW wrote:

>
> As noted on a previous thread, update code has a timezone problem. You
> take UTC from the command station, but unfortunately 'touch' uses  
> local
> time by default. No good if your servers span timezones.
>
> Simple fix though - change:
>
> run "find #{asset_paths.join(" ")} -exec touch -t #{stamp} {} \\;;
> true"
>
> to
>
> run "TZ=UTC find #{asset_paths.join(" ")} -exec touch -t #{stamp} {}
> \\;; true"
>
> Now touch stamps the file at UTC correctly.
>
> NeilW
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to