<div dir="ltr">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. <br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 13, 2014 at 4:42 AM, Elias Persson <span dir="ltr">&lt;<a href="mailto:delreich@takeit.se" target="_blank">delreich@takeit.se</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2014-06-12 20:12, Mike McLean wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+#parse command line args<br>
+BRANCH=&#39;&#39;<br>
+while (($# &gt; 0))<br>
+do<br>
+  case $1 in<br>
+    --branch)<br>
+        #specify branch instead of asking git<br>
+        BRANCH=$2<br>
+        shift 2<br>
+        ;;<br>
+    --surl)<br>
+        #override sources url<br>
+        surl=$2<br>
+        shift 2<br>
+        ;;<br>
+  esac<br>
+done<br>
+<br>
</blockquote>
<br>
The expected result of<br>
<br>
$ bash get_sources.sh --sulr ...<br>
<br>
is what?<br>
(i.e. typo-ed opt should probably not cause endless looping.)<br>
<br>_______________________________________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">http://lists.centos.org/mailman/listinfo/centos-devel</a><br>
<br></blockquote></div><br></div>