Have the -a and -f options work together.

PR:		misc/40057
This commit is contained in:
Ceri Davies 2003-08-11 19:32:19 +00:00
parent 129045e796
commit 507c0355a3

View File

@ -281,6 +281,9 @@ if [ -n "$IN_FILE" ]; then
cat $IN_FILE > $TEMP cat $IN_FILE > $TEMP
fi fi
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 else
if [ -n "$PR_FORM" -a -z "$PRINT_INTERN" ]; then if [ -n "$PR_FORM" -a -z "$PRINT_INTERN" ]; then