[packages/crossnacl-binutils] allow override channel
glen
glen at pld-linux.org
Sat Sep 15 00:46:09 CEST 2012
commit ac24d0f4f4638b67c488e139e3b380e8b83a7373
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Sep 13 22:14:36 2012 +0300
allow override channel
get-source.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/get-source.sh b/get-source.sh
index 8b403ba..97d05ef 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -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)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossnacl-binutils.git/commitdiff/656f9f48be06a67600b98327d3e055de8b763c19
More information about the pld-cvs-commit
mailing list