[SCM] pkg-kde repository scripts branch, master, updated. fbe50f07057b6dc75481e343fcc0599cbed31c60

Modestas Vainius modax at alioth.debian.org
Fri Jun 10 19:50:20 UTC 2011


The following commit has been merged in the master branch:
commit fbe50f07057b6dc75481e343fcc0599cbed31c60
Author: Modestas Vainius <modax at debian.org>
Date:   Fri Jun 10 19:49:05 2011 +0000

    Execute mail command under UTF-8 locale.
---
 process-changes    |    2 +-
 repository-updated |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/process-changes b/process-changes
index 53944d6..694e125 100755
--- a/process-changes
+++ b/process-changes
@@ -24,7 +24,7 @@ POOL_CHANGES="$6"
 changes_basename=`basename "$CHANGES"`
 if [ ! -f "$REPO/processing_$changes_basename" ]; then
 	# Changes is being processed. Avoid dupe mails
-	mail -s "$changes_basename ACCEPTED into ${CODENAME}" "$MAILTO" < "$CHANGES"
+	LC_ALL=en_US.UTF-8 mail -s "$changes_basename ACCEPTED into ${CODENAME}" "$MAILTO" < "$CHANGES"
 fi
 
 # Chmod changes
diff --git a/repository-updated b/repository-updated
index 592d3e4..eaf3d50 100755
--- a/repository-updated
+++ b/repository-updated
@@ -36,7 +36,7 @@ if [ -s "$RECENTLOG" ]; then
 	# Mail recent log
 	echo_mail_body | gpg --homedir "$REPO/keyring" --no-permission-warning \
 		             --default-key $REPO_KEY --output - --clearsign - | \
-		mail -s "$MAIL_SUBJECT" "$MAILTO"
+		LC_ALL=en_US.UTF-8 mail -s "$MAIL_SUBJECT" "$MAILTO"
 fi
 
 if [ -s "$RECENTLOG" ] || [ -n "$force" ]; then

-- 
pkg-kde repository scripts



More information about the pkg-kde-commits mailing list