commit a551b7c2939c013ae61db021ad7f50e131bb9444
Author: Elan Ruusamäe <[email protected]>
Date: Sat Oct 5 16:05:12 2013 +0300
fix wget not fetching updates
update-source.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/update-source.sh b/update-source.sh
index 3e32837..14a4ea7 100755
--- a/update-source.sh
+++ b/update-source.sh
@@ -41,8 +41,8 @@ t=$(mktemp)
repodata=primary-$branch-$(date +%Y%m%d).xml
[ "$cache" = "yes" ] || rm -f "$repodata"
test -e $repodata || {
- wget -c $sourceurl/repodata/primary.xml.gz
- gzip -dc primary.xml.gz > $repodata || test -s $repodata
+ wget -c $sourceurl/repodata/primary.xml.gz -O $repodata.gz
+ gzip -dc $repodata.gz > $repodata || test -s $repodata
}
perl -ne 'm{<name>google-'$product-$branch'</name>} and m{<version epoch="0"
ver="([\d.]+)" rel="(\d+)"/>} and print "$1 $2"' > $t < $repodata
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/google-chrome.git/commitdiff/a551b7c2939c013ae61db021ad7f50e131bb9444
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit