From 5611986906310203b885bdbda0f340333655ade3 Mon Sep 17 00:00:00 2001 From: ceri Date: Mon, 11 Aug 2003 19:32:19 +0000 Subject: Have the -a and -f options work together. PR: misc/40057 --- gnu/usr.bin/send-pr/send-pr.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu') diff --git a/gnu/usr.bin/send-pr/send-pr.sh b/gnu/usr.bin/send-pr/send-pr.sh index b776d37..314a24e 100644 --- a/gnu/usr.bin/send-pr/send-pr.sh +++ b/gnu/usr.bin/send-pr/send-pr.sh @@ -281,6 +281,9 @@ if [ -n "$IN_FILE" ]; then cat $IN_FILE > $TEMP 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 if [ -n "$PR_FORM" -a -z "$PRINT_INTERN" ]; then -- cgit v1.1