[packages/crossnacl-newlib] check errors

glen glen at pld-linux.org
Sun Sep 30 17:10:58 CEST 2012


commit faeb5e359320024741683506de8be582f4c6147d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Sep 13 22:07:40 2012 +0300

    check errors

 get-source.sh | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/get-source.sh b/get-source.sh
index 95cb587..3bedffd 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -25,11 +25,14 @@ depth=
 
 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
 
@@ -43,6 +46,7 @@ else
 fi
 
 # get src/native_client/tools/REVISIONS directly from svn
+test -n "$nacl_revision"
 test -e NACL_REVISIONS.sh || svn cat $nacl_trunk/src/native_client/tools/REVISIONS@$nacl_revision > NACL_REVISIONS.sh
 
 if grep -Ev '^(#|(LINUX_HEADERS_FOR_NACL|NACL_(BINUTILS|GCC|GDB|GLIBC|NEWLIB))_COMMIT=[0-9a-f]+$|)' NACL_REVISIONS.sh >&2; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossnacl-newlib.git/commitdiff/f75c5be37302238a3748069146fc3567a10914ae



More information about the pld-cvs-commit mailing list