]> git.pld-linux.org Git - packages/crossnacl-binutils.git/commitdiff
allow override channel
authorElan Ruusamäe <glen@delfi.ee>
Thu, 13 Sep 2012 19:14:36 +0000 (22:14 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 13 Sep 2012 19:14:36 +0000 (22:14 +0300)
get-source.sh

index 8b403ba89bf5efa1016d31716e2eb21b1665b7c3..97d05efb177848c190c94e44bf159fb60868468f 100755 (executable)
@@ -19,7 +19,7 @@ nacl_trunk=http://src.chromium.org/native_client/trunk
 omahaproxy_url=https://omahaproxy.appspot.com
 specfile=crossnacl-binutils.spec
 
-chrome_channel=stable
+chrome_channel=${1:-stable}
 chrome_version=$(curl -s "$omahaproxy_url/?os=linux&channel=$chrome_channel" | awk -F, 'NR > 1{print $3}')
 test -n "$chrome_version"
 chrome_revision=$(curl -s $omahaproxy_url/revision?version=$chrome_version)
This page took 0.130252 seconds and 4 git commands to generate.