From 3e990eef5f02ba0c47226908bf33be3649f3eafe Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 16 Aug 2011 22:47:41 +0000 Subject: add text in the email --- modules/buildsystem/templates/upload-bin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/buildsystem/templates/upload-bin b/modules/buildsystem/templates/upload-bin index 6c92aeed..c0617964 100755 --- a/modules/buildsystem/templates/upload-bin +++ b/modules/buildsystem/templates/upload-bin @@ -21,7 +21,8 @@ fi echo "$username:$comment" > "$uploadinfosdir/$sha1sum" echo "User $username uploaded file $sha1sum: $comment" -/usr/bin/mailx -s "New file uploaded: $sha1sum - $comment" -S "from=$username <$mail_from>" "$mail_dest" +echo "User $username uploaded file $sha1sum: $comment" | \ + /usr/bin/mailx -s "New file uploaded: $sha1sum - $comment" -S "from=$username <$mail_from>" "$mail_dest" exit 0 -- cgit v1.2.1