summaryrefslogtreecommitdiffstats
path: root/refresh-translations
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2017-09-07 18:58:48 +0200
committeranonym <anonym@riseup.net>2017-09-13 00:09:17 +0200
commitd199d512d5cf64782a159176cf99412d332d40ac (patch)
tree19f563001ef518b8a86a3b76936581b52be05181 /refresh-translations
parent02a55ec59bf29f083a74d47d35eaf79cd67b779c (diff)
Do some clean up.
If the script fails at various points, these files would linger.
Diffstat (limited to 'refresh-translations')
-rwxr-xr-xrefresh-translations3
1 files changed, 3 insertions, 0 deletions
diff --git a/refresh-translations b/refresh-translations
index 511ebf8..bbb268f 100755
--- a/refresh-translations
+++ b/refresh-translations
@@ -121,6 +121,9 @@ intltool_merge () {
### Main
+# Schedule clean up
+trap "rm -fr tmp/pot po/*.new po/*.orig" EXIT
+
FORCE=no
while [ -n "${@:-}" ]; do
case "${1:-}" in