[CentOS-devel] [PATCH] handle detached HEAD in get_sources and more
Elias Persson
delreich at takeit.seFri Jun 13 08:42:48 UTC 2014
- Previous message: [CentOS-devel] [PATCH] handle detached HEAD in get_sources and more
- Next message: [CentOS-devel] [PATCH] handle detached HEAD in get_sources and more
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.) -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Avoid-endless-loop-in-option-parsing-and-add-a-help-.patch Type: text/x-patch Size: 1603 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140613/a1c232f7/attachment-0003.bin>
- Previous message: [CentOS-devel] [PATCH] handle detached HEAD in get_sources and more
- Next message: [CentOS-devel] [PATCH] handle detached HEAD in get_sources and more
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS-devel mailing list