[CentOS-devel] [PATCH] handle detached HEAD in get_sources and more
Mike McLean
mikem at imponderable.org
Fri Jun 13 21:18:28 UTC 2014
Sorry I misread your explanation at first. Thanks for the fix. Looks good
and works for me.
Ack.
On Fri, Jun 13, 2014 at 4:42 AM, Elias Persson <delreich at takeit.se> wrote:
> On 2014-06-12 20:12, Mike McLean wrote:
>
>> +#parse command line args
>> +BRANCH=''
>> +while (($# > 0))
>> +do
>> + case $1 in
>> + --branch)
>> + #specify branch instead of asking git
>> + BRANCH=$2
>> + shift 2
>> + ;;
>> + --surl)
>> + #override sources url
>> + surl=$2
>> + shift 2
>> + ;;
>> + esac
>> +done
>> +
>>
>
> The expected result of
>
> $ bash get_sources.sh --sulr ...
>
> is what?
> (i.e. typo-ed opt should probably not cause endless looping.)
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> http://lists.centos.org/mailman/listinfo/centos-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140613/1b934179/attachment.html>
More information about the CentOS-devel
mailing list