summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/send-pr/send-pr.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/send-pr/send-pr.sh b/gnu/usr.bin/send-pr/send-pr.sh
index b776d37..314a24e 100644
--- a/gnu/usr.bin/send-pr/send-pr.sh
+++ b/gnu/usr.bin/send-pr/send-pr.sh
@@ -281,6 +281,9 @@ if [ -n "$IN_FILE" ]; then
cat $IN_FILE > $TEMP
fi
fi
+ # If the user has requested that we attach files (with the -a option),
+ # then add them too.
+ [ -n "$ATTACHED_FILES" ] && echo "$ATTACHED_FILES" >> $TEMP
else
if [ -n "$PR_FORM" -a -z "$PRINT_INTERN" ]; then
OpenPOWER on IntegriCloud