aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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