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@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@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel