[packages/crossnacl-gcc] allow override channel

glen glen at pld-linux.org
Wed Oct 3 19:39:44 CEST 2012


commit 64a65cbc6061f1ef9b78df2dc589758ad42ed8b6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Sep 13 22:17:05 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 58aeea1..b900b8c 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -23,7 +23,7 @@ specfile=crossnacl-gcc.spec
 # fatal: Path 'gcc/BASE-VER' does not exist in 'c69a5b7252d2f073d0f526800e4fca3b63cd1fab'
 depth=5
 
-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-gcc.git/commitdiff/bae6856c4c54f72eb51080b8ae8b90db2bb437b5



More information about the pld-cvs-commit mailing list