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

Modestas Vainius modax at alioth.debian.org
Tue May 24 22:20:48 UTC 2011


The following commit has been merged in the master branch:
commit fcab40bf2d33c941582fecbfe4131d424320ba02
Author: Modestas Vainius <modax at debian.org>
Date:   Tue May 24 22:03:06 2011 +0000

    heirloom-mailx requires options to go before To mail addresses.
---
 process-changes    |    2 +-
 repository-updated |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/process-changes b/process-changes
index 5155e0b..53944d6 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 "$MAILTO" -s "$changes_basename ACCEPTED into ${CODENAME}" < "$CHANGES"
+	mail -s "$changes_basename ACCEPTED into ${CODENAME}" "$MAILTO" < "$CHANGES"
 fi
 
 # Chmod changes
diff --git a/repository-updated b/repository-updated
index dbb3c85..592d3e4 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 "$MAILTO" -s "$MAIL_SUBJECT"
+		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