1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

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>
This commit is contained in:
Dima Dorfman 2002-03-09 04:29:00 +00:00
parent 235d6772d5
commit caab5f4f7f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91926

View File

@ -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__'