commit 6fcf51a64fb10c3259f827e83c2732f822b21e2f
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Sep 13 22:16:50 2012 +0300

    check errors

 get-source.sh | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/get-source.sh b/get-source.sh
index e79adf0..58aeea1 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -25,11 +25,14 @@ depth=5
 
 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-gcc.git/commitdiff/bae6856c4c54f72eb51080b8ae8b90db2bb437b5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to