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.)