[packages/crossnacl-binutils] check errors

glen glen at pld-linux.org
Sat Sep 15 00:46:04 CEST 2012


commit 928d61cf90b1be7f1a9218d31316a27593780ac0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Sep 13 22:14:28 2012 +0300

    check errors

 get-source.sh | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/get-source.sh b/get-source.sh
index 68e0b81..8b403ba 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -21,10 +21,13 @@ specfile=crossnacl-binutils.spec
 
 chrome_channel=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)
+test -n "$chrome_revision"
 chrome_branch=$(IFS=.; set -- $chrome_version; echo $3)
 test -e DEPS.py || svn cat http://src.chromium.org/chrome/branches/$chrome_branch/src/DEPS@$chrome_revision > DEPS.py
 nacl_revision=$(awk -F'"' '/nacl_revision.:/{print $4}' DEPS.py)
+test -n "$nacl_revision"
 
 export GIT_DIR=$package/.git
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossnacl-binutils.git/commitdiff/656f9f48be06a67600b98327d3e055de8b763c19



More information about the pld-cvs-commit mailing list