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

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