diff options
author | dd <dd@FreeBSD.org> | 2002-03-09 04:29:00 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2002-03-09 04:29:00 +0000 |
commit | 7449050591a0601145ed74199fdf8efb554b8d37 (patch) | |
tree | 0157fd5f42b7028f100f4fab60b2f07db23d789c /gnu | |
parent | 69772af884da323e0e7cc19bb8d6a67392bfd564 (diff) | |
download | FreeBSD-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.sh | 1 |
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__' |