[postgis-devel] Implement "make astyle" patch

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Thu Jan 28 06:24:40 PST 2010


Nicklas Avén wrote:

> well, I have looked a little at this
>  
>  
> The thing is that when I tried before I installed astyle properly then 
> all my source-files where wiped empty. So my cunit "crash" was caused by 
> empty c-files.
>  
> When I checked out and tried agin everything worked as expected.
>  
> But without astyle installed all source files gets empty.
>  
> I tried it agian by renaming astyle in astyle.sh to something not 
> existing, then the same happened.
>  
> Can cause a lot of pain if the last thing that happens before 
> committting everything is erased.
>  
> /Nicklas

Ah yes, you're probably right. I've just checked a patch into SVN that 
makes the script halt if it can't find astyle - can you try again and 
make sure it works for you?


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the postgis-devel mailing list