From: Amos Jeffries Date: Fri, 1 Aug 2008 04:24:20 +0000 (+1200) Subject: Generate daily langpack tarball X-Git-Tag: SQUID_3_1_0_1~49^2~122 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d2669d90443c11836b9cebdbdce0bebde036822c;p=thirdparty%2Fsquid.git Generate daily langpack tarball Following the daily dist build this is supposed to bundle all existing translations into a langpack tarball for distribution. Squid releases are bundled with their own most-current translations as at release date. Daily snapshots included. This bundling is only intended to be built for the HEAD release as a a drop-in replacement for any error pages bundled per-release with Squid 2.6 and later. TODO: auto-translation patch still to merge will generate current translations for this to work with. At present it only has the old legacy folders, but should still operate correctly on those. --- diff --git a/mksnapshot.sh b/mksnapshot.sh index 87129720b4..239c778628 100755 --- a/mksnapshot.sh +++ b/mksnapshot.sh @@ -95,3 +95,8 @@ if [ -x $tmpdir/scripts/www/build-cfg-help.pl ]; then gzip -f -9 ${PACKAGE}-${VERSION}-${date}-cfgman.html echo ${PACKAGE}-${VERSION}-${date}-cfgman.html.gz >>${tag}.out fi + +# Generate language-pack tarballs +# NP: Only to be done on HEAD branch. +sh -c "cd $tmpdir/errors && tar -zcf ${PWD}/${PACKAGE}-${VERSION}-${date}-langpack.tar.gz ./*/*" +echo ${PACKAGE}-${VERSION}-${date}-langpack.tar.gz >>${tag}.out