[oe] [PATCH 1/3] scripts/firefox-gen-l10n-recipes: Use HTTP to fetch the xpi files
Otavio Salvador
otavio at ossystems.com.br
Mon Nov 16 12:27:09 UTC 2015
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
scripts/firefox-gen-l10n-recipes | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/firefox-gen-l10n-recipes b/scripts/firefox-gen-l10n-recipes
index dc22bb4..1f2ae9d 100755
--- a/scripts/firefox-gen-l10n-recipes
+++ b/scripts/firefox-gen-l10n-recipes
@@ -11,7 +11,7 @@ OLDCWD=$PWD
cd $TMPDIR
echo "Downloading XPI files..."
-wget -c ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$1/linux-i686/xpi/*.xpi
+wget -np -nH -r --cut-dirs 7 -A "*.xpi" http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$1/linux-i686/xpi/
cd $OLDCWD
@@ -21,7 +21,7 @@ for f in $TMPDIR/*.xpi; do
lang_code=$(echo $f | sed "s,$TMPDIR/\([^\.]*\).xpi,\1,g" | tr '[A-Z]' '[a-z]')
cat > firefox-l10n-${lang_code}_$1.bb <<EOF
-# Copyright (C) 2009-2014, O.S. Systems Software Ltda. All Rights Reserved
+# Copyright (C) 2009-2015, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)
require firefox-l10n.inc
--
2.6.2
More information about the Openembedded-devel
mailing list