Author: glen                         Date: Wed Jan 11 17:25:11 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update according to site changes (the build/built message is filled manually 
by uploader)

---- Files affected:
packages/closure-compiler:
   get-source.sh (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/closure-compiler/get-source.sh
diff -u packages/closure-compiler/get-source.sh:1.1 
packages/closure-compiler/get-source.sh:1.2
--- packages/closure-compiler/get-source.sh:1.1 Thu Aug 25 16:29:37 2011
+++ packages/closure-compiler/get-source.sh     Wed Jan 11 18:25:06 2012
@@ -5,6 +5,7 @@
 dl=https://code.google.com/p/$p/downloads/list?can=3
 
 set -x
+set -e
 
 html() {
        if [ -z "$html" ]; then
@@ -13,8 +14,11 @@
        echo "$html"
 }
 
-rev=$(html | perl -nne '/'$fn'-latest.tar.gz.*Build at r(\d+)/and print $1')
-date=$(html | perl -ne '/'$fn'-(\d+).tar.gz.*Build at r'$rev'/and print $1')
+rev=$(html | perl -ne '/'$fn'-.+tar.*Buil[dt] at r?(\d+)/and print $1')
+test -n "$rev"
+
+date=$(html | perl -ne '/'$fn'-(\d+).tar.gz.*Built at r?'$rev'/and print $1')
+test -n "$date"
 
 d=$p-$date
 if [ ! -d "$d" ]; then
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/closure-compiler/get-source.sh?r1=1.1&r2=1.2&f=u

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

Reply via email to