aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-08-16 22:47:41 +0000
committerNicolas Vigier <boklm@mageia.org>2011-08-16 22:47:41 +0000
commit3e990eef5f02ba0c47226908bf33be3649f3eafe (patch)
treeca11d8046184ce2540ed07b0179cfecf761e4926 /modules
parent0ffc84db1b40474754557c16f4725ce2017ac9ef (diff)
downloadpuppet-3e990eef5f02ba0c47226908bf33be3649f3eafe.tar
puppet-3e990eef5f02ba0c47226908bf33be3649f3eafe.tar.gz
puppet-3e990eef5f02ba0c47226908bf33be3649f3eafe.tar.bz2
puppet-3e990eef5f02ba0c47226908bf33be3649f3eafe.tar.xz
puppet-3e990eef5f02ba0c47226908bf33be3649f3eafe.zip
add text in the email
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/buildsystem/templates/upload-bin3
1 files changed, 2 insertions, 1 deletions
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