[PATCH] Check for valid branch when building

Nelson Castillo arhuaco at freaks-unidos.net
Fri Feb 20 12:07:51 CET 2009

On Fri, Feb 20, 2009 at 10:11 AM, Werner Almesberger
<werner at openmoko.org> wrote:
> Nelson Castillo wrote:
>> * Print a nice message if we are not in a valid branch.
> Good idea !

I got bitten by this small issue before.

> Unfortnately, [[ doesn't exist in /bin/sh, so you'd have to use grep
> and such.

Thanks. Next time I'll try to run /bin/sh in sh-only mode.

> look nicer ?

Yes. I'll print it and stick it to a wall in my room.

Please check the attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check-for-valid-branch-when-building.patch
Type: text/x-diff
Size: 1436 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20090220/02d1e5f8/attachment.patch 

More information about the openmoko-kernel mailing list