[Debian-l10n-commits] r1670 - in /ddtp-dinstall/trunk: Changelog checks/ddtp_i18n_check.sh
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Tue Mar 31 20:57:50 UTC 2009
Author: nekral-guest
Date: Tue Mar 31 20:57:49 2009
New Revision: 1670
URL: http://svn.debian.org/wsvn/?sc=1&rev=1670
Log:
* checks/ddtp_i18n_check.sh: Updated after the new Lenny release.
* checks/ddtp_i18n_check.sh: Only generate the bz2 compressed
files. The non compressed files are no more provided, hence the
script should no be run twice on the same directory.
Modified:
ddtp-dinstall/trunk/Changelog
ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh
Modified: ddtp-dinstall/trunk/Changelog
URL: http://svn.debian.org/wsvn/ddtp-dinstall/trunk/Changelog?rev=1670&op=diff
==============================================================================
--- ddtp-dinstall/trunk/Changelog (original)
+++ ddtp-dinstall/trunk/Changelog Tue Mar 31 20:57:49 2009
@@ -1,3 +1,10 @@
+2009-03-31 Nicolas François <nicolas.francois at centraliens.net>
+
+ * checks/ddtp_i18n_check.sh: Updated after the new Lenny release.
+ * checks/ddtp_i18n_check.sh: Only generate the bz2 compressed
+ files. The non compressed files are no more provided, hence the
+ script should no be run twice on the same directory.
+
2008-08-12 Nicolas François <nicolas.francois at centraliens.net>
* tests/testsuite/bad/2blocks-without-md5.expected,
Modified: ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh
URL: http://svn.debian.org/wsvn/ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh?rev=1670&op=diff
==============================================================================
--- ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh (original)
+++ ddtp-dinstall/trunk/checks/ddtp_i18n_check.sh Tue Mar 31 20:57:49 2009
@@ -3,7 +3,7 @@
# $Id$
#
# Copyright (C) 2008, Felipe Augusto van de Wiel <faw at funlabs.org>
-# Copyright (C) 2008, Nicolas François <nicolas.francois at centraliens.net>
+# Copyright (C) 2008, 2009 Nicolas François <nicolas.francois at centraliens.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,6 +16,7 @@
set -eu
export LC_ALL=C
+# This must be defined to either 0 or 1
# When DEBUG=0, fail after the first error.
# Otherwise, list all the errors.
DEBUG=0
@@ -79,8 +80,8 @@
usage
fi
-#STABLE="etch"
-TESTING="lenny"
+#STABLE="lenny"
+TESTING="squeeze"
UNSTABLE="sid"
# Original SHA256SUMS, generated by i18n.debian.net
@@ -103,7 +104,7 @@
# If it's trapped, something bad happened.
trap_exit () {
rm -rf "$TMP_WORK_DIR"
- rm -f "$dists_parent_dir"/dists/*/main/i18n/Translation-*.{bz2,gz}
+ rm -f "$dists_parent_dir"/dists/*/main/i18n/Translation-*.bz2
exit 1
}
trap trap_exit EXIT HUP INT QUIT TERM
@@ -390,8 +391,7 @@
if [ "$DRY_RUN" = "0" ]; then
# Now generate the compressed files
- bzip2 -c "$f" > "$f.bz2"
- gzip -c "$f" > "$f.gz"
+ bzip2 "$f"
fi
else
echo "Neither a file or directory: $f" >&2
More information about the Debian-l10n-commits
mailing list