summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2002-03-09 04:29:00 +0000
committerdd <dd@FreeBSD.org>2002-03-09 04:29:00 +0000
commit7449050591a0601145ed74199fdf8efb554b8d37 (patch)
tree0157fd5f42b7028f100f4fab60b2f07db23d789c /gnu
parent69772af884da323e0e7cc19bb8d6a67392bfd564 (diff)
downloadFreeBSD-src-7449050591a0601145ed74199fdf8efb554b8d37.zip
FreeBSD-src-7449050591a0601145ed74199fdf8efb554b8d37.tar.gz
The -a switch didn't cause send-pr to attach the specified file if the
PR template was obtained from the environment variable $PF_FORM. PR: 34831 Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/send-pr/send-pr.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/send-pr/send-pr.sh b/gnu/usr.bin/send-pr/send-pr.sh
index 710e3e2..e3c149d 100644
--- a/gnu/usr.bin/send-pr/send-pr.sh
+++ b/gnu/usr.bin/send-pr/send-pr.sh
@@ -295,6 +295,7 @@ else
if [ -n "$PR_FORM" -a -z "$PRINT_INTERN" ]; then
cp $PR_FORM $TEMP ||
( echo "$COMMAND: could not copy $PR_FORM" ; xs=1; exit )
+ [ -n "$ATTACHED_FILES" ] && echo "$ATTACHED_FILES" >> $TEMP
else
for file in $TEMP $REF ; do
cat > $file << '__EOF__'
OpenPOWER on IntegriCloud