[CentOS-devel] [PATCH] handle detached HEAD in get_sources and more

Mike McLean mikem at imponderable.org
Fri Jun 13 16:27:48 UTC 2014


The --surl option is probably more of a debug option right now. It just
changes the base url for downloading the lookaside sources.  It might be
useful if someone was mirroring the lookaside sources. I might use it to
test staged content.


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/919db986/attachment.html>


More information about the CentOS-devel mailing list