summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorceri <ceri@FreeBSD.org>2003-08-11 19:32:19 +0000
committerceri <ceri@FreeBSD.org>2003-08-11 19:32:19 +0000
commit5611986906310203b885bdbda0f340333655ade3 (patch)
tree783ebcc3a1419d64763692aa4dc008799a3d7280 /gnu
parentf4ec65890fe3e06e428e05e5d7c8976f0dbc24f8 (diff)
downloadFreeBSD-src-5611986906310203b885bdbda0f340333655ade3.zip
FreeBSD-src-5611986906310203b885bdbda0f340333655ade3.tar.gz
Have the -a and -f options work together.
PR: misc/40057
Diffstat (limited to 'gnu')
-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